On Jun 3, 2011 3:17 PM, "Uri Guttman" <u...@stemsystems.com> wrote: >
> > perl -le 'my $x = "zzz" ; for $x ( qw( foo bar ) ) { print "L: $x" } print "E: $x"' > L: foo > L: bar > E: zzz > That's odd, I would have thought that would have given 'foo bar bar'. So, how would you keep data from a loop once you're outside of the loop?