Unless your FTP session has means to unpack, say, a .tar file, I think you're kind of SOL. Perhaps your web admin would be receptive to installing the module for you? Maybe he'd be receptive to unpacking a .tar file for you? Bundle up the installed XML::DOM (or perhaps just a subset of things in your perl5 lib directory to be sure you get enough Perl modules that XML::DOM will require).
If you're really really desperate, you can probably go through and manually build a perl lib directory with FTP commands, putting each of the files XML::DOM installed. This is assuming that the target OS is compatible with the source OS. You might be able to write a Perl script to do this for you, and even then there's no guarantee it'll work.
Another option might be to use RPC somehow and Storable with a 3rd-party system that is more flexible with the stuff it installs. Have your CGI execute a procedure on a remote system to do all the weird parsing stuff, and have the remote system return data structures that represent the results. This is, in my opinion, a relatively horrible way to solve your problem, but it is a way.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.