I run the following which produces an a.par file:

pp -p -n DateGen.pm JythonFeeder.pm MetaMonConfigLoader.pm
MetaMonSshConn.pm SetSQL.pm SshConn.pm

I move the a.par file to a different directory and check its content:

bash-2.05# unzip -l a.par
Archive:  a.par
 Length    Date    Time    Name
 ------    ----    ----    ----
    534  06-04-07  16:59   MANIFEST
    212  06-04-07  16:59   META.yml
   1172  06-04-07  16:59   script/DateGen.pm
   8624  06-04-07  16:59   script/JythonFeeder.pm
   1729  06-04-07  16:59   script/MetaMonConfigLoader.pm
   6083  06-04-07  16:59   script/MetaMonSshConn.pm
   1564  06-04-07  16:59   script/SetSQL.pm
    618  06-04-07  16:59   script/SshConn.pm
 ------                    -------
  20536                    8 files

I execute the following per the manual (or at least what I understand
when I read the manual):

/usr/local/bin/perl -e "use PAR; use lib "a.par"; use SetSQL;"

Alas:

Can't locate script/SetSQL.pm in @INC (@INC contains: apar
CODE(0x817d920) /usr/local/lib/perl5/5.8.8/i86pc-solaris /usr/local/
lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris /
usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .
CODE(0x817d998)) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Where am I going wrong please?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to