Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Why is the error thrown from close(FH) when the error is the missing <> on while(FH)?

by 7stud (Deacon)
on Feb 01, 2013 at 06:07 UTC ( [id://1016455]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $fname = 'data.txt';
    
    ...
    while(FH) {
        print "hello\n";
    }
    
  2. or download this
    
    while(FH) {
        print "hello\n";
    }
    
  3. or download this
    $greeting = Hello . World;
    print $greeting, "\n";           #Prints: HelloWorld
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found