Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: counting backward

by vagabonding electron (Chaplain)
on Mar 03, 2013 at 16:33 UTC ( #1021516=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Loops with print (I used a NULL device to keep it clear, s.below):
                  Rate foreach_loop   c_for_loop
    ...
                   Rate   c_for_loop foreach_loop
    c_for_loop   1314/s           --         -22%
    foreach_loop 1674/s          27%           --
    
  2. or download this
    #! perl
    use strict;
    ...
            1;
        }
    }