in reply to Re^3: How to use a module without installing it?
in thread How to use a module without installing it?
If I'm understanding you correctly, you still have a require (or use) in your code — at least that's what the error message "Can't locate..." would suggest.
Once you have a module's code pasted into the main script, there's no longer any need to require it (i.e. load it from an external file), as it's already there... So just remove or comment out the respective require/use instructions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to use a module without installing it?
by LanX (Saint) on Aug 06, 2009 at 00:02 UTC | |
by almut (Canon) on Aug 06, 2009 at 00:36 UTC |