in reply to Re^4: split function
in thread split function
Just for the sake of completeness, I should mention that lists can be sliced as well as subscripted:
c:\@Work\Perl\monks>perl -wMstrict -le "my ($kilo, $papa, $quebec, $romeo, $delta) = ('a' .. 'z')[ 10, 15 .. +17, 3 ]; print qq{'$delta' '$kilo' '$papa' '$quebec' '$romeo'}; " 'd' 'k' 'p' 'q' 'r'
Give a man a fish: <%-(-(-(-<
|
|---|