Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Can't get rid of: Useless use of private variable in void context

by tobias_hofer (Friar)
on Feb 25, 2013 at 11:28 UTC ( #1020496=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Can't get rid of: Useless use of private variable in void context
in thread Can't get rid of: Useless use of private variable in void context

Hey, you are right! :-)
Perfect!

But there is one thing, I have to remove the  use strict;
else I get a:
Global symbol "%HTEC" requires explicit package name at...

Thanks a lot!
Tobias


Comment on Re^4: Can't get rid of: Useless use of private variable in void context
Select or Download Code
Re^5: Can't get rid of: Useless use of private variable in void context
by ww (Bishop) on Feb 25, 2013 at 13:12 UTC

    There may be some case where removing "use strict; is a valid approach, but if so, I'm having a hard time thinking of it (not that I tried very hard -- because strict is your friend). Put it back in and find out how to make the hash "legal" (perhaps by declaring it with "my").


    If you didn't program your executable by toggling in binary, it wasn't really programming!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-07-22 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (126 votes), past polls