Help for this page

Select Code to Download


  1. or download this
    #!/path/to/perl
    
    ...
    sleep 2;
    # The below produces "Elapsed: 2.01233"
    print "Elapsed: ", tv_interval($now, [gettimeofday]), "\n";
    
  2. or download this
    #!/path/to/perl
    
    ...
    
    # The below produces Elapsed: 0,
    print "Elapsed: ", tv_interval($now, [gettimeofday]), "\n";
    
  3. or download this
    #!/path/to/perl
    
    ...
       return $return;
    } # END sub loadPerlModule