you may want to say open INPUT, "< $i", or better yet open INPUT, "<", $i instead in case you get files beginning with |, <, or >open INPUT, "$i" or die "Couldn't open the file. $!";
In reply to Re: Using expressions in arrays for pattern matching
by ysth
in thread Using expressions in arrays for pattern matching
by Mike_76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |