Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Turning foreach into map?

by jhourcle (Prior)
on Apr 05, 2005 at 01:39 UTC ( [id://444837]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    purple:/tmp oneiros$ perl -version | head -2
    
    This is perl, v5.8.6 built for darwin-thread-multi-2level
    ...
    void_map  61.9/s      61%      37%       --     -38%     -38%
    for       99.5/s     158%     119%      61%       --      -0%
    foreach  100.0/s     160%     120%      61%       0%       --
    
  2. or download this
    use warnings;
    use strict;
    
    ...
            print "\n$count:\n";
            cmpthese( 500_000/$count, $tests[$count] );
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-28 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found