Local scope for file handles?
Scott K. Laws
scott at elvis.mu.org
Wed May 10 22:13:42 CDT 2000
Try this:
use Symbol; # Anonymous global symbols
my($sym) = gensym;
open($sym, "filename");
Regards,
Scott
On Wed, 10 May 2000, Jorgensen, Erik ( IATS ) wrote:
> Hey folks!
>
> Is there to locally scope file handles?
>
> I use:
>
> my $this = 'that';
>
> all the time, so I tried:
>
> my FILEHANDEL;
>
> But it just generates an error.
>
> Help! :)
>
> Erik
>
> --
> Erik Jorgensen
> Programmer/Analyst - Principle
> Customer Service and Support
> Information & Access Technology Services
> University of Missouri - Columbia
> (573) 882-5974
> www.missouri.edu/~ccjorgie
> jorgie at missouri.edu
>
>
More information about the Columbia-pm
mailing list