2 ms·
A few tips for the infrequent Perler: If you have a more recent Perl available, use it and it's newer features (use 5.014; at least, hopefully). It's a small
by kbenson 13y ago
A few tips for the infrequent Perler:
If you have a more recent Perl available, use it and it's newer features (use 5.014; at least, hopefully). It's a small thing, but being able to call keys/values/shift/unshift/push/pop on the reference versions of their subject is very nice. There's useful new features in every new version now.
Additionally, Function::Parameters (or some other module that does similar, take your pick) will make your life much, much simpler if you tend to write a lot of subs.
Use Moose (or at least Moo or Mouse, if you want it lighter weight) if you are using objects.
Enjoy!