Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Getting a hash from a file

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


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

I just tried it, and it returns the exact same error(s).

Replies are listed 'Best First'.
Re^3: Getting a hash from a file
by itsscott (Sexton) on Mar 24, 2010 at 00:35 UTC
    You can not use the .pm as an extension change it to .pl or .cfg or something else and I am sure you will find the error goes away. I am sure this one bit me many moons ago.

      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
        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://830423]
help
Chatterbox?
[mark4]: thanks. I installed "PAR-packager" and pp is working. BTW, it is pp.bat that was needed.
[mark4]: Sorry, There was a typo in my last message. I installed "PAR-Packer" and I now have a pp.bat and all is working well. Thanks again for your help.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2018-01-19 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (223 votes). Check out past polls.

    Notices?