Re: creating perl binary using PAR module , execution error under unix



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
.



Relevant Pages

  • Re: creating perl binary using PAR module , execution error under unix
    ... ## I also tried to compile with -M option ... By my reading of the pp documentation (at ... correct way to pack Curses/UI/Language/english.pm into the executable ...
    (comp.lang.perl.modules)
  • Re: Pass array of worksheets to ActiveX DLL (VB6)
    ... After reading what you had to say I Googled some of his posts ... faster for them to develop their own applications, ... reach for the documentation every couple of minutes to find out "so ... Hank Scorpio ...
    (microsoft.public.excel.programming)
  • Re: Patents Unleashed and the future of Java Programming
    ... Have you ever seen documented an algorithm for determining the number ... However, I disqualify "reading coworkers code", "looking at ... Even the most anal retentive documentation efforts (I've worked on ...
    (comp.lang.java.programmer)
  • Re: RH6.0 and wine
    ... Of course I've been reading the documentation. ... And you can fuck right off with that attitude. ... question - you chose to start a flame war. ...
    (linux.redhat)
  • Re: DTV antennas?
    ... of the customer base has some form of written or on-screen learning or ... How about they can't find the documentation to read? ... It's not easy, rough reading, totally ... Manuals that are full of illustration and examples work ...
    (sci.electronics.design)