Perl Tips

Finding out the type of a variable in Perl

if(ref $variable eq 'HASH') { ... }
You can use "HASH', 'ARRAY', 'SCALAR' etc.

How do I touch a file in Perl?

my $l_now = time();
utime($l_now, $l_now, "VersionNo.rc");

How do I use HTTP proxy applications like PPM?

set HTTP_proxy=http://10.1.15.33:8080/
ppm
 
reference/perl.txt · Last modified: 2011/09/29 23:09 by simon
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki