If you trust your environment, couldn't you just set PERL5LIB to v:/utilities/perlutil? Perl should then look in there for modules with out the script needing to put anything extra in your scripts.
According to the PerlRun doc this wont work if Taint checking is on. Kev. -----Original Message----- Date: Wed, 27 Oct 2004 08:10:24 +0100 From: "Anderson, Mark (Service Delivery)" <[EMAIL PROTECTED]> Subject: RE: external library To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain Or you can simply: use lib 'v:/utilities/perlutil'; use utils; This should work just as well with an ENV var representing your list of extra INC dirs, too. Kind regards, Mark Anderson Service Improvement Project Ground Floor, 34 Fettes Row Edinburgh, EH3 6UY Tel: 07808 826 063 This e-mail is confidential and may contain legally privileged information. You should not disclose its contents to any other person. If you are not the intended recipient, please notify the sender immediately. Whilst the Council has taken every reasonable precaution to minimise the risk of computer software viruses, it cannot accept liability for any damage which you may sustain as a result of such viruses. You should carry out your own virus checks before opening the e-mail (and/or any attachments). Unless expressly stated otherwise, the contents of this e-mail represent only the views of the sender and do not impose any legal obligation upon the Council or commit the Council to any course of action. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs