CodeJunkie has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I'm looking for some advice. I have written a web app and slightly niavely used a non-standard Perl module namely XML::Simple. Now every time I sell this software to a company I have to get them to install this module and not all hosting companies are happy doing this. Therefore I am making life difficult for myself. I wish I hadn't used the module now, I was really just trying to be clever. I could have written the code another way, but chose XML simple because I thought it would be cool.
So I think the moral of this story is DON'T USE NON-STANDARD PERL MODULES!
I'm trying to think of ways around this predicament without re-writting my code, I thought about using the
use lib '/export/home/whatever/lib/';
Setting a local lib directory and installing the module locally. This works, until I try and run it, in which case it starts to ask for more and more modules, such as URI::URL.pm. Then it just complains because the versions are all wrong.
So can anyone give me any advice about this, what should I do? Maybe it would be simplier to use another module rather than XML::Simple, does anyone know of very similar but standard XML modules that I could use instead of this?
Your help is as always really appreciated.
Regards,
Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loading Local Modules
by Joost (Canon) on Sep 10, 2003 at 11:03 UTC | |
by CodeJunkie (Monk) on Sep 10, 2003 at 11:23 UTC | |
|
Re: Loading Local Modules
by barbie (Deacon) on Sep 10, 2003 at 11:38 UTC | |
|
Re: Loading Local Modules
by Abigail-II (Bishop) on Sep 10, 2003 at 10:33 UTC | |
by CodeJunkie (Monk) on Sep 10, 2003 at 10:38 UTC | |
by mirod (Canon) on Sep 10, 2003 at 11:28 UTC | |
|
Re: Loading Local Modules
by guha (Priest) on Sep 10, 2003 at 10:25 UTC | |
by bobn (Chaplain) on Sep 10, 2003 at 13:26 UTC | |
|
Re: Loading Local Modules
by coreolyn (Parson) on Sep 10, 2003 at 20:31 UTC | |
|
Re: Loading Local Modules
by DrHyde (Prior) on Sep 10, 2003 at 18:50 UTC |