in reply to Re: A list returns its last, an array returns its weight ...
in thread A list returns its last, an array returns its weight
(For those of you who are more familiar with CSS, it could be said that context "cascades". :-)@a = qw( x y ); # scalar(@a) == 2 @b = qw( foo bar quux ); print $b[ 0, @a ]; # prints "quux"
jdporter
...porque es dificil estar guapo y blanco.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: A list returns its last, an array returns its weight ...
by mce (Curate) on Nov 13, 2002 at 12:30 UTC | |
by jdporter (Paladin) on Nov 13, 2002 at 14:29 UTC |