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 contemplating the Monastery: (4)
As of 2014-07-12 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls