Sara has asked for the wisdom of the Perl Monks concerning the following question:
how can I get the last one ,, thanks for help@array = q( hi bye see do ); my $lastword = array[$];
Edit ar0n -- Changed title from 'array' to 'Getting last value in array'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: array
by sschneid (Deacon) on Jul 18, 2002 at 19:52 UTC | |
|
Re: array
by DamnDirtyApe (Curate) on Jul 18, 2002 at 19:54 UTC | |
|
Re: array
by Nightblade (Beadle) on Jul 18, 2002 at 19:53 UTC | |
|
Re: array
by thelenm (Vicar) on Jul 18, 2002 at 20:50 UTC | |
|
Re: array
by DS (Acolyte) on Jul 18, 2002 at 19:56 UTC | |
by ichimunki (Priest) on Jul 18, 2002 at 20:32 UTC | |
by DS (Acolyte) on Jul 18, 2002 at 19:59 UTC | |
|
Re: Getting last value in array
by screamingeagle (Curate) on Jul 18, 2002 at 23:00 UTC |