Keep It Simple, Stupid | |
PerlMonks |
Re^3: P2P Golf: MoleSterby Fletch (Bishop) |
on Dec 16, 2004 at 19:03 UTC ( [id://415430]=note: print w/replies, xml ) | Need Help?? |
You actually cannot use pop instead of shift in the first line unless you rearrange the argument list order. If there's no ordering dependencies between things (in this case &a and &i don't seem to depend on one being called before the others, and neither references $p) you can if you just reverse the order you pop rather than the argument order . . .
Update: D'oh, missed the @ARGV later on. Never mind me.
In Section
Obfuscated Code
|
|