Hi,
I can't find the answer to this in any of my many Perl books so I'm
asking you. I want to do 'use strict' but when I also use it with a file
handle I get an error. How can I declare a file handle variable such
that 'use strict' won't generate an error?

This fails.
use strict;
open (FN, $someFile);

This works:
open(FN, $someFile);

In both cases, FN is not defined. When I try to define it with 'my $FN'
I still get an error with strict. What's the proper way to define this?

Thank you,
Deborah


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to