http://www.perlmonks.org?node_id=999702


in reply to Re^6: Script using Getopt::Long running endlessly after beeing packaged by pp
in thread Script using Getopt::Long running endlessly after beeing packaged by pp

but I'm still getting errors... I'm afraid I misdjuged the error while reading more carefully the output :

Try pp -C -cd pp-scandeps-cachefile -x -o script script.pl

or pp -C -cd ~/pp-scandeps-cachefile -x -o script script.pl

  • Comment on Re^7: Script using Getopt::Long running endlessly after beeing packaged by pp

Replies are listed 'Best First'.
Re^8: Script using Getopt::Long running endlessly after beeing packaged by pp
by HJO (Acolyte) on Oct 18, 2012 at 11:01 UTC

    Hi,

    I tried your command :

    # pp -C -cd pp-scandeps-cachefile -x -o script script.pl Couldn't retrieve data from file pp-scandeps-cachefile. Building new c +ache. Error while calling script USAGE : ./script.pl -t [D|W|M|S] -s [DATE] SYSTEM ERROR in executing script.pl: 2304 at /usr/lib/perl5/site_perl/ +5.8.8/Module/ScanDeps.pm line 1300.

      in that case use -c instead of -x

        I got this :

        # pp -C -cd pp-scandeps-cachefile -c -o script script.pl Couldn't retrieve data from file pp-scandeps-cachefile. Building new c +ache. /tmp/ZjrWYFjD8S syntax OK

        And the same error when I try to run it