XP is just a number | |
PerlMonks |
Re: Is Perl less compact than Ruby? (Kind of competition)by cLive ;-) (Prior) |
on Feb 18, 2002 at 21:12 UTC ( [id://146250]=note: print w/replies, xml ) | Need Help?? |
Well, since it doesn't work under strict, you can safely drop:
that's another 5 chars. Also, put pop@n in a sub at the beginning: then replace: throughout. another 20 chars saved.
cLive ;-) Update - d'oh, yep, another 16 chars saved by changing p@n to p (updated above) - that means we can also save another 10 chars by whacking push@n,'whatever' into a sub. What's that now? 379 chars? --
In Section
Seekers of Perl Wisdom
|
|