Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Indirect Filehandles + use strict = error

by TheDamian (Priest)
on Mar 14, 2006 at 10:20 UTC ( #536507=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $FH = "DATA"; open $FH, "<", $filename or croak "Cannot open file $
    +filename $!\n";
    
  2. or download this
    open my $FILE, '<', $filename
        or croak "Can't open '$filename': $OS_ERROR";
    
  3. or download this
        my $FH;
        open $FH, "<", $filename     
            or croak "Cannot open file $filename $!\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://536507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-03-02 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (40 votes), past polls