in reply to Print Vs Return In a Subroutine
Just make your code work, and when you think it woks too slow, benchmark the likely culprits and improve those, if necessary.
With Time::HiRes you can get the current time in microseconds, so you can measure quite precisely how long a piece of code takes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Print Vs Return In a Subroutine
by chrestomanci (Priest) on Mar 30, 2012 at 12:38 UTC |