monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Now I want to 'compile' into an 'executable' of this code using PAR's pp utility. I tried the following command:#!/usr/bin/perl -w use strict; use Algorithm::Loops 'NestedLoops'; use List::Compare; use List::Util qw (min max); use somelib; # (somelib.pm) # rest of the code
But it gives:#!/usr/bin/bash pp -M Algorithm::Loops qw(NestedLoops) -M List::Compare -M List::Util +qw(min max) -a somelib.pm mycode.out
What's the way to overcome this?-bash: syntax error near unexpected token `('
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Howto include Module with Specific Methods with PAR's pp utility
by McDarren (Abbot) on Oct 28, 2006 at 02:05 UTC | |
by monkfan (Curate) on Oct 28, 2006 at 07:10 UTC | |
by syphilis (Archbishop) on Oct 28, 2006 at 08:35 UTC | |
by Anonymous Monk on Oct 29, 2006 at 02:35 UTC | |
|
Re: Howto include Module with Specific Methods with PAR's pp utility
by Joost (Canon) on Oct 28, 2006 at 11:28 UTC |