Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Getting a hash from a file

by itsscott (Sexton)
on Mar 24, 2010 at 00:01 UTC ( #830421=note: print w/replies, xml ) Need Help??

in reply to Getting a hash from a file

The way I have always done it and it worked for me fine was to do the following
require "";
Hope that helps.

Replies are listed 'Best First'.
Re^2: Getting a hash from a file
by jedikaiti (Friar) on Mar 24, 2010 at 00:08 UTC
    I just tried it, and it returns the exact same error(s).
      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?

        Swiss Army Nerd

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2016-10-27 13:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (362 votes). Check out past polls.