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 the snippet readable.  That
was precisely the error I made.

Thank you to all who responded!

-- 
Jon Earle

SAVE FARSCAPE http://www.savefarscape.com/

Vegetarian - an old Indian word meaning 'lousy hunter'.
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to