|
Posted by Sibu on March 20, 2008, 9:04 am
Please log in for more thread options > .
> .
>
>
>
> > ## 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
|