No it's not mandatory, but it often makes sense to do so, i.e. explicitly declare variables that you want to use and give them a specific scope. See perldoc for documentation. Using strict and warnings is also not mandatory but using them in combination with my would for example have given you the information that some of the variables are never used.
In reply to Re^3: Parse XML into CSV Files
by dHarry
in thread Parse XML into CSV Files
by dmsparts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |