[VPM] Perl Bug?

Darren Duncan darren at DarrenDuncan.net
Wed Jun 16 14:31:50 CDT 2004


At 12:12 PM -0700 6/16/04, Jeremy Stashewsky wrote:
>Can any of you comment on why this perl statement doesn't or shouldn't work?
>Seems to happen under perl 5.8.4, but not under 5.8.0.
>(Code is a snippet from Cricket: cricket.sf.net)
>$ perl
>my(@oidsToQuery) =  my(@indices) = ();
>__END__
>Bizarre copy of ARRAY in aassign at - line 1.
>$
>Thanks,
>~jeremy

Well, that brings up a question for me.  Namely, can 'my' be used as 
an rvalue, or only as an lvalue?  I've only ever seen it used as an 
lvalue. -- Darren Duncan



More information about the Victoria-pm mailing list