On Fri, Jan 09, 2004 at 06:15:34PM +0000, Andy Balaam wrote:
> Could it be implicit if you name more than one script in the comand 
> line?  I can't think of why you'd want main.pl if you've included 
> several scripts.

Well, actually, there is a "ln" based feature:

    % pp --output=a.out a.pl b.pl  # two scripts in one!
    % ln a.out b.out               # symlink also works
    % ./a.out                      # runs a.pl
    % ./b.out                      # runs b.pl

So the output file will dynamically become the script that has
the name as the current $0.  I'm open to suggestions as of
which one should be made the default.

> >Weird, this really should work.  Where is the library located?  Note
> >that for modules within the current directory, you have to explicitly
> >pass "pp -I ." to it.  This may arguably be called a bug.  Maybe.
> > 
> I can't remember the details. I'll try this again and get back to you 
> with a proper report when I have time.

Okay, looking forward to it.

Thanks,
/Autrijus/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to