Hi all, I've had this question for quite a while and can't find any
reference to it in any of my many Perl books. I want to use the 'strict'
command but whenever I do it always causes an error on any file handles
I have used. I always declare everything but have never seen a
filehandle declared before using it. I then tried to declare the file
handle with 'my $FH' but that causes an error for some reason. What's
the correct way?

This works:
open(FN, $someFIle);

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

What's the correct way to get 'strict' to work when using file handles?

Thnx, Deb


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

Reply via email to