On Tue, 25 Nov 2003, $Bill Luebkert wrote:
> You can have an array and a scalar with the same name. @_ and $_ do not
> refer to the same vrbl. $_[1] is not referring to $_ - it's referring
> to the 2nd element of @_. This is just normal Perl syntax.
Yep, writing it out more descriptively makes
Jon Earle wrote:
> Consider this:
>
> while () {
> @_ = split /\s*:\s*/;
> if (/something/) {
> $found = $_[$#_];
> ...
>
> My interpretation based on what is happening:
>
> $_ is set to whatever current line is read-in via the while loop. That
> line is split a