http://qs321.pair.com?node_id=220752


in reply to XML/XSLT resources

what you wish for can be done, it's just not easy to do nor to explain. the basic idea goes like this.

sounds easy, and sometimes it is.

$ cd /tmp/libfoo-0.0.1 $ ./configure --prefix=/tmp/support $ make $ make install $ ls /tmp/support/lib libfoo.a libfoo.so libfoo.so.1 $ rm /tmp/support/libfoo.so* $ cd /tmp/Foo-0.0.1 $ perl Makefile.PL PREFIX=/tmp/support $ make $ make test $ make install $ scp -r /tmp/support/lib/perl5 me@provider:public_html/ $ cat >/tmp/test.pl #!/path/to/providers/perl use lib '/path/to/me/public_html/perl5'; use Foo; print "Content-type: text/plain\r\n\r\nWoot!"; ^D $ chmod ugo+rx /tmp/test.pl $ scp /tmp/test.pl me@provider:cgi-bin/

cross fingers and try it out. be warned, it can be much harder than this would suggest and it's better to try it local first to make sure it works. be prepared for pain.

  • Comment on Re: Any monks care to help out a young Aussie starting out with Perl?
  • Download Code