http://qs1969.pair.com?node_id=1150063


in reply to Re: Declaring with my, assigning, and testing in same line
in thread Declaring with my, assigning, and testing in same line

... the issue is the way doublequotes are interpolated.

No, per tye above, the problem is with scoping within a statement:

c:\@Work\Perl\monks>perl -wMstrict -le "my %foo = qw(do done eggs ham was were); ;; my @v; (@v = keys %foo) == 1 or warn qq{Got more than one: @v}; print qq{V:@v}; " Got more than one: eggs was do at -e line 1. V:eggs was do


Give a man a fish:  <%-{-{-{-<