2008/10/21 Chas. Owens <[EMAIL PROTECTED]>:
>
> This is an odd desire; are you sure you really need to do this? Can
> you tell us what you are trying to achieve? Jeff's answer does what
> you want, but most likely there is a better approach to be using for
> your actual problem.
>
Agree.
He probably want the last element from the array, then try,
my $last = $list[-1];
--
my @name = glob "{JeffP}{a,e}{ng}"
http://home.arcor.de/pangj/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/