Hello,

in a project we are using Getopt::Euclid for commandline processing.

Getopt::Euclid reads the definition for the commandline parameters from
POD in scripts and Modules.

For this, Getopt::Euclid reads the module and parses the POD.

This fails with PAR, because the modules are not found:

    my @caller = caller;
    if ($caller[1] =~ m/[.]pm \z/xms) {
        # Save module's POD...
        open my $fh, '<', $caller[1] or croak ...
        ...


(How)is it possible to access the content of a Module?

As I remember, some time ago, PAR unpacked the modules in a local _par
directory with their own name, so with this it would be possible to read
the modules. But now it gives them some strange names. 


BTW:
It seems that there is a bug in Windows (Strawberry-Perl): PAR unpacks
the Modules in $ENV{TEMP}/par-<PID> and does this directories gets NOT
deleted!

Clean is 0 in META.yml, no env is set; but $ENV{PAR_CLEAN} is 1 when
executing! Setting PAR_CLEAN to 0 makes no difference.


Thanks && Ciao
  Alvar

-- 
** Alvar C.H. Freude, http://alvar.a-blast.org/
** http://www.assoziations-blaster.de/
** http://www.wen-waehlen.de/
** http://odem.org/

Reply via email to