To avoid potential headaches, always localize assignments to global variables like $/.
local $/ = '>';That way, the value of $/ will be automatically restored after the sub exits. Later parts of your program might not like having a weird line terminator dropped on them.
Also good practice to localize $_ if you're using it for that type of while loop.
local $_; while (<FILE>) {
In reply to Re^3: system() issue
by Anonymous Monk
in thread system() issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |