You never check whether opening the output file succeeded. See open. For your original query about regular expressions, see perlre and maybe perlretut.
In reply to Re^5: Parsing with RegEx into Array
by Corion
in thread Parsing with RegEx into Array
by mr_p
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |