Syntactic Confectionery Delight | |
PerlMonks |
Re: push, assign or split a file?by chromatic (Archbishop) |
on Jan 17, 2010 at 08:12 UTC ( [id://817836]=note: print w/replies, xml ) | Need Help?? |
First let me show some benchmarks that demonstrate that it really is faster to use the while statement in place of a simple assignment. Your spurious Data::Dumper calls in three of the four subs ruin the benchmark.
In Section
Seekers of Perl Wisdom
|
|