Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Is there a problem with using barewords as filehandles ? (updated link)

by LanX (Saint)
on Jul 01, 2020 at 10:17 UTC ( [id://11118755]=note: print w/replies, xml ) Need Help??


in reply to Is there a problem with using barewords as filehandles ?

Parsing rules come to mind, the diamond operator <> does both readline and glob and must use heuristics to decide.

I had cases comparing two functions with < leading to a compile error, because "the closing > was missing"

UPDATE
see Disabling the interpretation of diamond <> operator in package?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: Is there a problem with using barewords as filehandles ? (updated link)
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found