Look ...

I have a daemon with Daemon::Generic.

When run:

*linux-2xqo:~ # ./testebackup.pl start*
*Starting teste server*
*
*
*linux-2xqo:~ # ./testebackup.pl stop*
*Killing 14188*

Daemon works fine.

But when compile using perlcc, perlcc -B daemon.pl -o daemon and run, dont
work more.

*linux-2xqo:~ # ./testebackup start*
*Undefined subroutine &main::newdaemon called at testebackup.pl line 11.*
*
*
*linux-2xqo:~ # ./testebackup stop*
*Undefined subroutine &main::newdaemon called at testebackup.pl line 11.*

if this script work with perlcc I can continue using perlcc to build
my perl scripts in 5:10

2010/3/29 Shlomi Fish <[email protected]>

> On Monday 29 Mar 2010 17:47:30 Eduardo Terzella wrote:
> > Look with using PAR.
> >
> > pp -o testeC teste.pl
> >
> > teste.pl
> >
> > #!/usr/bin/perl
> > print "Hello World\n";
> >
> > Size file:
> >
> > teste.pl         => 4.0 k
> > testeC          => 3.6 M
> >
> > This is very strange, too increases the size of the file. You know tell
> me
> > why ?
> >
>
> Well , PAR also includes the entire perl 5 run-time -
> /usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE/libperl.so takes
> 1,427,604
> bytes here) and possibly other libraries inside. There may be a way to
> decrease it but I'm not a PAR expert and never worked with it. (You can try
> asking on the IRC or on PAR-specific mailing lists.)
>
> > And thanks for information perlcc i will trie to use it.
> >
>
> You're welcome.
>
> Regards,
>
>        Shlomi Fish
>
> --
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> Best Introductory Programming Language - http://shlom.in/intro-lang
>
> Deletionists delete Wikipedia articles that they consider lame.
> Chuck Norris deletes deletionists whom he considers lame.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>

Reply via email to