Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Wierd print and sub ordering problem

by ioannis (Abbot)
on Oct 30, 2005 at 12:01 UTC ( [id://503984]=note: print w/replies, xml ) Need Help??


in reply to Wierd print and sub ordering problem

print bar () . "\n";

Here, the word 'bar' is being interpreted as a filehandle.

print +bar () . "\n";

But with the + sign, the word 'bar' is now a term.

  • Comment on Re: Wierd print and sub ordering problem

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-19 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found