Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Why do I get a "used only once" warning here?

by Krambambuli (Deacon)
on Mar 16, 2009 at 08:08 UTC ( #750825=note: print w/ replies, xml ) Need Help??


in reply to Re: Why do I get a "used only once" warning here?
in thread Why do I get a "used only once" warning here?

Isn't there an error in this ?!

It neighter seems to suppress the warning, nor do I understand how this is supposed to work. :(

Thanks,


Krambambuli
---


Comment on Re^2: Why do I get a "used only once" warning here?
Replies are listed 'Best First'.
Re^3: Why do I get a "used only once" warning here?
by ikegami (Pope) on Mar 16, 2009 at 13:08 UTC

    Why didn't you show what you tried instead of just saying what amounts to "Does not!"

    >perl -wle"$MyApp::once{x} ||= 1;" Name "MyApp::once" used only once: possible typo at -e line 1. >perl -wle"%MyApp::once if 0; $MyApp::once{x} ||= 1;" >

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-07-31 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls