Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

Replies are listed 'Best First'.
Re^5: Can't get rid of: Useless use of private variable in void context
by ww (Archbishop) 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?
[1nickt]: stevieb it's just a simple web page with a POST form. You can set the attribute so when the user's browser opens a file manager to select a file to upload, it will only show those o f the type you want to get.
[1nickt]: Question for my learned friends: is there a word meaning "CSV-like" i.e. I want to say that I accept CSV files, but the separator doesn;t have to be a comma. Or is that implicit these days?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-07-22 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (340 votes). Check out past polls.