On Jun 5, 3:43 pm, [EMAIL PROTECTED] (Jrpfinch) wrote:
> I'm sorry you felt the need to reply to this thread - I don't see what
> it has to do withPAR.
>
> Anyway, I got around my problem by using zip instead of pp:
>
> bash-2.05# zip MetaMonPhaseOne.parMetaMon/PhaseOne.pm MetaMon/
> PhaseOne/*
>   adding: mydir/PhaseOne.pm (deflated 84%)
>   adding: mydir/PhaseOne/moda.pm (deflated 82%)
>   adding: mydir/PhaseOne/modb.pm (deflated 77%)
>   adding: mydir/PhaseOne/modc.pm (deflated 76%)
>   adding: mydir/PhaseOne/modd.pm (deflated 84%)
>
> bash-2.05# /usr/local/bin/perl -e "usePARq(MetaMonPhaseOne.par); use
> mydir::PhaseOne::modb;"
> bash-2.05#

Well, the problem is that you were adding the module files as scripts
and not as modules. The following pp command would probably have
worked:

pp -o a.par -p -e "use lib 'somewhere/where/the/module/live'; use
DateGen; use JythonFeeder; use MetaMonConfigLoader; use
MetaMonSshConn; use SetSQL; use SshConn;"

Best regards,
Steffen


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


Reply via email to