Re: [Perl-unix-users] installed package not found

2007-08-02 Thread Angelos Karageorgiou
OK sorry for not getting back earlier man perlvar says @INCThe array @INC contains the list of places that the "do EXPR", "require", or "use" constructs look for their library files. It initially consists of the arguments to any -I command-line swi

Re: [Perl-unix-users] installed package not found

2007-08-01 Thread Greg Schraiber
testmail.pl = #!/usr/bin/perl -- foreach $elem (@INC) { print "$elem\n"; } use MIME::Lite; foreach $elem (@INC) { print "$elem\n"; } # /scripts> perl testmail.pl /usr/local/perl/site/lib /usr/local/perl/lib . /usr/local/perl/site/lib /usr/local/perl/lib . At 09:19 AM 8/1/2007, Angelos Kara

Re: [Perl-unix-users] installed package not found

2007-08-01 Thread Greg Schraiber
Bill, * * the unibasic program * GJS = "" CMD = "/usr/local/perl/bin/perl /scripts/testmailer.pl" PCPERFORM CMD CAPTURING GJS after executing GJS contains the error: Can't locate MIME/Lite.pm in @INC (@INC contains: /usr/local/perl/site/lib/MIME/ /usr/local/perl/site/lib /usr/local/perl/lib .)

Re: [Perl-unix-users] installed package not found

2007-08-01 Thread Angelos Karageorgiou
Try this #!/usr/bin/perl -- foreach $elem (@INC) { print "$elem\n"; } use MIME::Lite; foreach $elem (@INC) { print "$elem\n"; } O/H Greg Schraiber έγραψε: > Can anyone tell where/how perl constructs the @INC ? > > I have a script that works when executed via perl script.pl at the > command prom

Re: [Perl-unix-users] installed package not found

2007-08-01 Thread Bill Luebkert
Greg Schraiber wrote: > Can anyone tell where/how perl constructs the @INC ? > > I have a script that works when executed via perl script.pl at the > command prompt, but does not run when executed via shell execute > statement from within a basic program. > > When executed from the basic progra

[Perl-unix-users] installed package not found

2007-08-01 Thread Greg Schraiber
Can anyone tell where/how perl constructs the @INC ? I have a script that works when executed via perl script.pl at the command prompt, but does not run when executed via shell execute statement from within a basic program. When executed from the basic program it errors out with this message: C