Not related to your problem but I'm wondering why you do
foreach (@links) { my $link = $_; ...
when you could simply write
foreach my $link (@links) { ...
The $link scalar in the second snippet still only exists within the scope of the foreach.
Cheers,
JohnGG
In reply to Re: Binding operator RAM eater
by johngg
in thread Binding operator RAM eater
by techtruth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |