Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
shmem sprinkles naga bih jolokia powder over the cookies on the platter on the sideboard
mr_mischief grabs a spicy cookie.
[mr_mischief]: mmm.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-04-27 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (508 votes). Check out past polls.