Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Re: Re: Slurp a file

by davorg (Chancellor)
on Jan 08, 2001 at 22:07 UTC ( [id://50537]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    timethese(100_000, {join => \&joinit,
                        slash => \&dollarslash} );
    
  2. or download this
    Benchmark: timing 100000 iterations of join, slash...
          join:  2 wallclock secs ( 1.52 usr +  0.29 sys =  1.81 CPU)
         slash:  4 wallclock secs ( 2.99 usr +  0.35 sys =  3.34 CPU)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://50537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found