Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

(tye)Re: why don't filehandles have punctuation before their name?

by tye (Sage)
on Apr 24, 2001 at 05:57 UTC ( [id://74929]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: why don't filehandles have punctuation before their name?
in thread why don't filehandles have punctuation before their name?

Perhaps you didn't notice the addition of BEGIN, END, CHECK, DESTROY, and INIT, etc. (: In fact, I think you should name subroutines with mixed case and should avoid the bareword-as-filehandle syntax. The bareword-as-filehandle syntax caused lots of problem even way back in Perl4. It is nice to have an alternative to it in Perl5.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: why don't filehandles have punctuation before their name?

Replies are listed 'Best First'.
Re: (tye)Re: why don't filehandles have punctuation before their name?
by sierrathedog04 (Hermit) on Apr 24, 2001 at 06:14 UTC
    99 percent of the code I see posted here uses barewords as filehandles. Is there some other way to do it? How?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-18 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found