It is closing automatically as it goes out of scope. I think what you want is just a typeglob, not a reference to it. Simply remove the \ from before the typeglob and all is fine.
Cheers,$self->{destFile} = *F;
- danboo
In reply to Re: Re: (Ovid) Re: Using File Reference
by danboo
in thread Using File Reference
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |