in reply to Re^2: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
in thread Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
I'm not very familiar with pp, since I haven't used it much myself. However, I think what might be happening is that your Perl environment is looking in some places for Perl modules that pp apparently is not.
Try to locate the LibXSLT.pm file on your system. It should be somewhere under the directory that Perl was installed into. Based on your error message, it will be in a folder named XML. The folder that the XML folder is in should have some other folders and possibly some .pm files too from other modules. This folder's full path is the path that you need to tell pp to include in it's search path for modules by using the -I (or --lib) option.
One more quick note. Hopefully that path does not have any blank spaces in a folder/directory name. If it does, you'll probably need to encapsulate the path in double-quotes.
Hopefully, this should fix your problem. By the way, have you tested the script itself? If not, you should do so. I don't believe that the module that you're trying to use is a core module. If it wasn't bundled in the Strawberry Perl distribution, you'll need to install it. (If you can't find the LibXSLT.pm file on your system, that's a good indication that you don't have the module installed.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
by Anonymous Monk on Aug 21, 2010 at 00:41 UTC | |
by srinimg (Initiate) on Aug 22, 2010 at 01:42 UTC | |
by Anonymous Monk on Aug 22, 2010 at 04:28 UTC | |
|
Re^4: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
by srinimg (Initiate) on Aug 22, 2010 at 01:36 UTC |