- or download this
use Data::Dumper;
use LWP::UserAgent;
...
my $req = new HTTP::Request GET => $gif;
my $res = $ua->request($req);
print Dumper $res;
- or download this
use Time::HiRes 'time';
...
my $end = time();
my $time = ($end - $begin) * 1000;
print "Took $time milliseconds\n" ;
- or download this
my $kids = 100;
for ( 1.. $kids ) {
...
next if $pid;
# add code for child to process here
}