This foreach my $junk (@junk); isn't valid perl syntax.
If you want to name the control variable you have to use the foreach my $name (@things) { #use $name }, not the postfix form
In reply to Re^2: file substitution
by BrowserUk
in thread file substitution
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |