my may be used almost everywhere, as in the common idioms
open my $fh, '<', $file;
or
while (defined (my $it = get_it())) { do_with_it($it); }
Greetings,
-jo
In reply to Re: my within brackets
by jo37
in thread my within brackets
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |