Either format's acceptable...
open FH, '<', "$file";
--or--
open( FH, "< $FILE" );
HTH
Deane Rothenmaier
Systems Architect
Walgreens Corp.
847-914-5150
"Truth is eternal, knowledge is changeable. It is disastrous to confuse them." -- Madeleine L'Engle
| "Barry Brevik" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 09/18/2006 11:57 AM
|
To: <[email protected]> cc: Subject: Re: Opening files |
Shouldn't it be:
open(FH,"<$file") or die "The file $file could not be found";
Barry Brevik
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
