in reply to Re: How to cut strings from the end
in thread How to cut strings from the end
Could you explain how this works? I was trying these days to dismiss the first element of an anonymous list, then I got this code:
I was wondering if something like that could work, but it doesn't:(undef, @list) = split /\s+/, $str;
Thanks in advance.@list = (split /\s+/, $str)[1..$#a];
Igor 'izut' Sutton
your code, your rules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to cut strings from the end
by japhy (Canon) on May 30, 2006 at 14:05 UTC |