On Thu, 25 Mar 2010 19:54:48 +0200 Shlomi Fish <shlo...@iglu.org.il> wrote: > Well, this is a bike shed argument. I find using "shift;" instead of > "shift(@_);" when inside subroutines to be faster to write, more > concise and more idiomatic. shift has this magic for a reason. I'm > unlikely to use shift the other way when outside or inside > subroutines. (And if I do, my automated tests will catch this.)
I use substarter http://search.cpan.org/~shcorey/Sub-Starter-v1.0.6/script/substarter It comes with Sub::Starter http://search.cpan.org/~shcorey/Sub-Starter-v1.0.6/lib/Sub/Starter.pm You can change its template to anything you want. -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/