Quantcast
Channel: Book Zone - Perl
Browsing all 25 articles
Browse latest View live

Get-dir / Gd - A Simple Way Of Jumping Around Dirs You Use All The Time

Put this in your path as get-dir add the section at the bottom to your .bashrc and call it with: <code> $ gd</code> or: <code> $ gd [DIR_TAG]</code><code> #!/usr/bin/perl...

View Article



Magic - Find Common File Magic In 2 Or More Files

// The output is modelled on xxd -g1 FILE<code> #!/usr/bin/perl -w # use strict; my %byte; my $lines = 10; my $blank = " _"; die "Usage: $0 FILE1 FILE2 [.. FILEn]\n" if ($#ARGV < 1); my...

View Article

Tiny Perl IRC Bot

// Another IRC Bot written in Perl - Here for my reference, and anyone interested. Most parts of the bot are broken into subroutines to make reading and managing the code easier. So far it just ops...

View Article

Threads To Create A Server And Client Application In One Using Threads To Run...

// Threads to create a server and client application in one using Threads to run them<code> use warnings; use strict; use Frontier::Daemon; use Frontier::Client; use threads; use...

View Article

Create Shortcuts To PuTTY Sessions...

I developed this under Linux, but have adapted it to work with Strawberry Perl. I make a folder: %USERPROFILE%\Start Menu\Programs\sessions And run this in there. <code> #!/usr/bin/perl # #...

View Article


Distance Calculation Using Latitude And Longitude In Perl

ZIPCodeWorld.com provides this routine to calculate the distance between two points (given the latitude/longitude of those points) in Perl. It is being used to calculate distance between two points...

View Article

Installing CPAN Modules To Debian

// To fully build CPAN modules into debian in one step use the following wrapper.<code> dh-make-perl --build --cpan <module_name></code> Perl 10701 k1mmeh ...

View Article

Calculate Latitude And Longitude From Rate Center V&H In Perl

ZIPCodeWorld.com provides this function to calculate the latitude and longitude coordinates from Vertical and Horizontal (V&H) coordinates in Perl. V&H's are used to identify locations and...

View Article


Daily Dose - Will Google's VP8 Video Codec Solve HTML5 Video Dilemma?

There may still be hope for people who favor a single, non-patented <video> tag standard in HTML5.  A report by NewTeeVee says a source with inside knowledge of Google tells them that the company...

View Article


Perl: Checking That Your Modified Files Compile

After making some changes, before committing, run this to check that no changes have caused your perl app to not compile<code> git status | grep modified | awk '{system("perl -c...

View Article

Daily Dose - QR Code For Android on GitHub

Its as easy as scanning that weird looking square with your Android phone to have it automatically download and install an Android package (.apk) wirelessly from GitHub.  Hot stuff right?  If you want...

View Article

Send Sms In Perl Via Sms Gateway Www.smsmatrix.com

Send SMS via SMS Gateway provided by <a href="http://www.smsmatrix.com">www.smsmatrix.com</a><code> use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent->new();...

View Article

Send Voice Phone Call Via Voice Gateway At Www.smsmatrix.com

Send voice phone call via voice gateway at <a href="http://www.smsmatrix.com/?sms-gateway">www.smsmatrix.com - voice gateway</a>.<code> use LWP::UserAgent; use HTTP::Request::Common;...

View Article


Passing Information Between PHP And Perl

// description of your code here<code><?php apache_note('name', 'Fredrik Ekengren'); // Call perl script virtual("/perl/some_script.pl"); $result = apache_note("resultdata");...

View Article

Daily Dose - RabbitMQ 2.0 Upgrades to AMQP 0.9.1

The RabbitMQ messaging system, which was recently be acquired by VMware's SpringSource, has reached version 2.0.  The AMQP-based system has a new persister that's only bound by disk capacity and a...

View Article


Daily Dose - SproutCore 1.4 Grows Touch Support

A new release arrived for the SproutCore framework that builds nativeized web apps.  The new release, 1.4, has more touch events for mobile devices and better animation support.  The build tools such...

View Article

A Book Review of Effective Perl Programming Ways to Write Better; More...

ISBN or ASIN:  0321496949 Book Author(s):  Joseph N. Hall Joshua A. McAdams brian d foy Publisher:  Addison Wesley ...

View Article


Daily Dose - Ubuntu Ditches GNOME

4th Lawsuit Against Android OEMsPerl and Parrot Benefit from GSoCThe Dutch Leak Windows 8 Projected Release DateJava For Mac, Not Oracle's Business

View Article

Php Xml Parser

// xml Parser<code> ************************************************************************ Example: ************************************************************************ $xml = new...

View Article

CSS Rounded Corners

// CSS Rounded Corners<code> CSS /* set millions of background images */ .rbroundbox { background: url(nt.gif) repeat; } .rbtop div { background: url(tl.gif) no-repeat top left; } .rbtop {...

View Article
Browsing all 25 articles
Browse latest View live




Latest Images