in reply to Reading from an array using angle brackets
Use B::Deparse (Tip #6 from the Basic debugging checklist) to see how perl treats your code:
use warnings; use strict 'refs'; my(@A) = ('a', 'b', 'c'); use File::Glob (); while (defined(my $x = glob(join($", @A)))) { do { print "$x\n" }; } print "@A\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Reading from an array using angle brackets
by bounsy (Acolyte) on Jan 23, 2013 at 22:24 UTC |
In Section
Seekers of Perl Wisdom