Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Getting a hash from a file

by jedikaiti (Friar)
on Mar 24, 2010 at 00:41 UTC ( #830427=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Getting a hash from a file
in thread Getting a hash from a file

Thanks! I just tried doing it as .pl, .cfg, and .txt. I get the exact same error as with .pm.

Am I screwing up elsewhere in the code, perhaps?

Kaiti
Swiss Army Nerd


Comment on Re^4: Getting a hash from a file
Re^5: Getting a hash from a file
by jethro (Monsignor) on Mar 24, 2010 at 01:52 UTC
    You have strict on. Add a line our %Verbs; before the do-line and your script should work.

    UPDATE: Wrong idea, it really was scoping like BrowserUK said. Still, my remedy works

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-11-27 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (184 votes), past polls