Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: delete FF's from a file

by tmharish (Friar)
on Feb 11, 2013 at 10:14 UTC ( #1018126=note: print w/ replies, xml ) Need Help??


in reply to Re^2: delete FF's from a file
in thread delete FF's from a file

so i can open with filehandle "infile" without "$"?

You CAN but there are good some very good reasons not to.

You will notice from the last link above the "Modern Perl", Recommended by Anonymous Monk below, does not use it.

At the end of the day its a choice that you make but I disagree with igelkott on this.

To differentiate you could always call it $input_file_handle or similar.


Comment on Re^3: delete FF's from a file
Download Code
Re^4: delete FF's from a file
by igelkott (Curate) on Feb 11, 2013 at 15:09 UTC
    filehandle "infile" without "$"

    I don't have an evidence to support my claim of "usually" but maybe that's not relevant anyway. Of course it's possible to use and I didn't mean to imply that it was wrong. There were just so many things that looked "odd" to me.

      There were just so many things that looked "odd" to me.

      Yup! I see what you mean. :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-28 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls