Not really.
Not using my would make the first $atexit trigger immediately instead of when leaving the sub frobnicate.
Putting things in their own blocks would make it impossible to use $name or whatever other effect of creating the file, and also would trigger the $atexit block when leaving that block instead of when leaving that function.
In reply to Re^6: "my" declaration problem
by Corion
in thread "my" declaration problem
by Hosen1989
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |