Re: creating perl binary using PAR module , execution error under unix
- From: Sibu <sibunl@xxxxxxxxx>
- Date: Thu, 20 Mar 2008 06:04:06 -0700 (PDT)
On Mar 18, 4:43 pm, sisyphus <sisyphus...@xxxxxxxxx> wrote:
On Mar 15, 10:06 pm, Sibu <sib...@xxxxxxxxx> wrote:
.
.
## I also tried to compile with -M option
$PP -M Curses/UI/Language/english.pm myscript.pl
By my reading of the pp documentation ( athttp://search.cpan.org/~smueller/PAR-Packer-0.978/lib/pp.pm), the
correct way to pack Curses/UI/Language/english.pm into the executable
would be:
$PP -M Curses::UI::Language::english myscript.pl
but I wonder if you might be better served by:
$PP -M Curses::UI myscript.pl
Cheers,
Rob
Rob,
Thanks for the answer,
see my working
$pp -M Curses::UI::Language::english myscript.pl
$./a.out
Can't open Curses/UI/Language/english.pm: No such file or directory at
Curses/UI/Language.pm line 96.
$pp -M Curses::UI myscript.pl
$./a.out
Can't open Curses/UI/Language/english.pm: No such file or directory at
Curses/UI/Language.pm line 96.
All fails.
line 93-96 of /usr/lib/perl5/site_perl/5.8.0/Curses/UI/Language.pm is
the following
93 # Create a filehandle to the __DATA__ section
94 # of the language package.
95 local *LANG_DATA;
96 open(LANG_DATA, "< $l_file") or die "Can't open $l_file: $!";
Any more help please...
Sibu.N.L
.
- References:
- Prev by Date: Re: yet another xml generator
- Next by Date: CGI open of tmpfile: No such file or directory
- Previous by thread: Re: creating perl binary using PAR module , execution error under unix
- Next by thread: yet another xml generator
- Index(es):
Relevant Pages
|
|