Andrew_Levenson has asked for the wisdom of the Perl Monks concerning the following question:
V(qw/74 401 211 79/); sub V{while(@_){ $v**=$V?$#_:$V; print( map{ $V<$v? chr(shift): chr(reverse(pop))}$_) ,$V+=$#_%2!=1?1:0}}
V(qw/74 401 211 79/);sub V{while(@_){$v**=$V?$#_:$V; print(map{$V<$v?chr(shift):chr(reverse(pop))}$_),$V+=$#_%2!=1?1:0}}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: For vs. While
by ikegami (Patriarch) on Dec 05, 2006 at 23:57 UTC | |
by Andrew_Levenson (Hermit) on Dec 06, 2006 at 00:54 UTC | |
by ikegami (Patriarch) on Dec 06, 2006 at 01:10 UTC | |
Re: For vs. While
by Joost (Canon) on Dec 05, 2006 at 23:56 UTC |