more RE: Polygons & Nodal Points...
Doug_Wilson at intuit.com
Thu Jul 26 11:31:48 CDT 2001
> while ( (my $rung) = shift @ladder )
> So in the first example, am I right in thinking (my $rung) is being
> eval'd in a list context, in which case I'm getting a -1 return value
> when @ladder has been cleared?
Almost. Even the list (undef) is a list with one undefined
element, so its value in scalar context is one (boolean true).
Shift returns a scalar, so you should not have parens around
your lvalues anyway.
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm