The best way to fix the errors is to use lexical variables instead of package globals. There's a tutorial on this in the monastery: Lexical vs. Package Variables (With a little local thrown in).
In reply to Re^5: perl code not working after moved new host with latest perl version
by hippo
in thread perl code not working after moved new host with latest perl version
by dpprabhuindia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |