Subject: | parl xyz.par abc.pl doesn't work |
When creating a multiple .pl par (i.e. pp -o xyz.par abc.pl def.pl ghi.pl) the various sub .pl programs are not available via:
parl xyz.par abc.pl
due to a bug in the main.pl that is designed for the case where someone has linked to xyz.par as abc. The first line of the multi-file version of main.pl as generated in pp should be:
sub _main_pl_multi {
return << '__MAIN__';
my $file = shift;
as opposed to:
my $file = $0;
The problem is that this highlights and ambiguity in the command line spec for parl. Which should it be? Do we need a command line switch to pp to sort it out?