Depends on array slicing, order of evaluation, using the same variable in two different contexts, implied iteration via .. and map, a null split, and default values of special variables. Don't forget the -w.perl -we \ 'print((split//,"\nechle etn sJutaohrPr akr")\ [map{splice @_,@_/$^F,$^W}(@_=$%..$^F*$=/5)])'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Splicing and slicing
by diotalevi (Canon) on Apr 14, 2003 at 16:55 UTC | |
|
Re: Splicing and slicing
by Mr. Muskrat (Canon) on Apr 14, 2003 at 16:59 UTC | |
|
Re: Splicing and slicing
by allolex (Curate) on Apr 15, 2003 at 07:13 UTC |