I even tried this and I see no output for this though
Are you sure that File2 still contains the data that you think it does?
If you ran the first version of your code on it, the line:
open FILE2, ">$f2" or die "Could not open file: $! \n";opens a file for writing, not reading. In other words, it clobbers any existing data in the file...
In reply to Re: Parsing for [] in a file
by Not_a_Number
in thread Parsing for [] in a file
by HJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |