in reply to qw with anonomous list ref
The bottom one creates a list of references, not a reference to a list.
C:\>perl -e "($x,$y)=\qw(a b);print $$y" b
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: qw with anonomous list ref
by bart (Canon) on Oct 29, 2002 at 13:00 UTC |
In Section
Seekers of Perl Wisdom