On Pt. 07 Lis. 2003, 05:35:23, JDUNCAN wrote:
Show quoted text> > all doesn't support coderefs in @INC.
> >
> > This means modules written with it are incompatible with tools such
> as PAR.
>
> Yes, this is a problem. I've not yet figured out how to get around
> this, but I have a
> feeling its going to be a matter of slightly changing my approach.
>
> Regards,
> James.
The all module works with PAR perfectly. You should use "pp -c" option.
The example:
#!/usr/bin/perl
use all 'Sys::';
use Data::Dumper;
print Dumper \@INC, \%INC;
$ pp -c all_test.pl
$ strace -eopen ./a.out 2>&1|grep Sys
open("/tmp/par-
.pm", O_RDONLY) = 8
open("/tmp/par-
me.pm", O_RDONLY) = 8
'Sys/Hostname.pm' => '/tmp/par-
me.pm',
'Sys/Syslog.pm' => '/tmp/par-
.pm',
I think this bugreport should be rejected.