Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: (jeffa) Re: Pronounceable syntax or beloved punctuation?

by Juerd (Abbot)
on Mar 21, 2004 at 11:33 UTC ( #338428=note: print w/replies, xml ) Need Help??


in reply to Re: Re: (jeffa) Re: Pronounceable syntax or beloved punctuation?
in thread Pronounceable syntax or beloved punctuation?

Actually, you don't need * in readline *ARGV, readline ARGV is enough.

strict allows unquoted strings where filehandles are expected. readline creates such context. readline ARGV equals readline 'ARGV'. Like it or not, you're using a symbolic reference!

So while you are right that the * isn't needed, I strongly advise against using readline with a bareword.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338428]
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 2018-08-20 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (196 votes). Check out past polls.

    Notices?