Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: First attempt at a module

by matija (Priest)
on May 21, 2004 at 07:34 UTC ( #355204=note: print w/ replies, xml ) Need Help??


in reply to First attempt at a module

Are you sure that your module is being loaded correctly? I don't see a 'use lib "somedirectory";' in your mod.pl. What happens when you go into the script with the debugger and step into the subroutine calls? What do you see?


Comment on Re: First attempt at a module
Re: Re: First attempt at a module
by sulfericacid (Deacon) on May 21, 2004 at 07:37 UTC
    I am not sure of anything at this point. I am not using "use lib" though as it's not giving me an error saying it cannot find the module like it typically does if it can't find it. So I assume it's finding the module just fine just on the account of it not telling me about it.

    I have tried: use lib "/Documents and Settings/Sulfericacid/Desktop/"; but the results haven't changed. (both script and .pm are on Desktop).



    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid
      "$word is nothing more than $definition blah blah blah"

      weenie
      I think Richard Harris put it best in "Silence of the lambs":'When you assume you make an ass out of u and me'.

      Don't assume, check. If you can't think of any other way to check, make a deliberate syntax error in your module, and see if you get an error message. If you don't there must be some other module with the same name in your @INC.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2014-07-31 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls