In Perl's scoping rules undeclared variables are global by default. For full details see Dominus' excellent article Coping with Scoping.
In reply to Re (tilly) 2: Assigning text sections to scalars
by tilly
in thread Assigning text sections to scalars
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |