in reply to Re: Returning first element of an array from a function
in thread Returning first element of an array from a function
That way I explicitly throw away the rest of the list instead of discarding it implicitly.($foo,undef) = split( /\./, $bar );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Returning first element of an array from a function
by Anonymous Monk on Mar 17, 2004 at 08:43 UTC | |
by Anonymous Monk on Mar 17, 2004 at 08:55 UTC | |
by Anonymous Monk on Mar 17, 2004 at 09:10 UTC |