On Thursday, August 15, 2002, at 02:32 , [EMAIL PROTECTED] wrote:
> Hi I have a question please. My ISP have not instaled a Perl Module > whitch I need for my script. So my script doesn't work. I am a programer > so I remember it is a way to add functions (methods) from that library to > the script and you not need that library. Your script will get the > methosds form his source. Am I right? if you have the perl module you want you can do a perldoc -m FOO::BAR and actually see what is going on in the FOO::BAR module. the trick at that point is knowing if you will have to replicate all of it in your script - or the simpler part of cutting and pasting a few segments into your script. If your ISP allows you a "home directory" with a 'shell account' then you could do the alternative strategy of installing the modules into $HOME/lib/perl5 and then using the use lib "$ENV{HOME}/lib/perl5"; to prepend that location to your @INC and the rest is the usual use FOO::BAR; until your ISP decides that they will install FOO::BAR and/or upgrade to the release of perl that will include or is required for it. Remember that perl modules that were built on or after 5.6 may include the 'use warnings' pragma that will not work in prior releases such as 5.005_003 that is the default install on solaris 8 hosts.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]