Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Wierd print and sub ordering problem

by ioannis (Prior)
on Oct 30, 2005 at 12:01 UTC ( #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
Node Status?
node history
Node Type: note [id://503984]
help
Chatterbox?
[choroba]: It's just troll feeding.
[beech]: of course the magic word that explains everything :p
[erix]: they should lean to gnash their teeth a bit instead of writing more ^Re:NN-nodes :)
[erix]: *learn

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-01-17 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.