go ahead... be a heretic | |
PerlMonks |
Re: Golf/Perlish solution to this problem?by 2Bad4U (Initiate) |
on Jan 31, 2008 at 09:11 UTC ( [id://665306]=note: print w/replies, xml ) | Need Help?? |
here is my solution (hopefully i haven't overseen something...):
prints: in: 1 2 3 4 5 6 7 8 9 10 11 12 out: 12 1 2 11 10 3 4 9 8 5 6 7 bye update 1: corrected the code and added the output
In Section
Seekers of Perl Wisdom
|
|