Fosforo, vc tb poderia ter usado o -M com cada um desses modulos no comando do pp...<br><br><div class="gmail_quote">2009/8/24 Fosforo <span dir="ltr">&lt;<a href="mailto:fosforo@gmail.com">fosforo@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">RESOLVIDO -:<br>
<br>
Srs,<br>
<br>
Após uma ajuda do mestre Breno via telefone, ele me esclareu que o<br>
módulo PAR tentar obter todas as dependências, mas alguns módulos<br>
usando &quot;eval&quot; f@dem com ele, em particular foi este módulo em questão:<br>
<br>
[root@server ~]# grep eval<br>
<div class="im">/usr/lib/perl5/site_perl/5.8.8/DateTime/Format/Builder/Parser.pm<br>
</div>        eval &quot;use DateTime::Format::Builder::Parser::$worker;&quot;;<br>
<br>
Pra resolver, coloquei a linha print<br>
&quot;DateTime::Format::Builder::Parser::$worker;&quot; após o eval, me dando o<br>
nome dos módulos que precisaria incluir na aplicação original, no meu<br>
caso:<br>
<br>
use DateTime::Format::Builder::Parser::Dispatch;<br>
use DateTime::Format::Builder::Parser::Quick;<br>
use DateTime::Format::Builder::Parser::Regex;<br>
use DateTime::Format::Builder::Parser::Strptime;<br>
use DateTime::Format::Builder::Parser::generic;<br>
<br>
<br>
:-)<br>
<div class="im"><br>
[]s Fosforo<br>
<br>
<br>
--<br>
Now you&#39;re being rude,<br>
and I hate rude people.<br>
<br>
-Hannibal Lecter<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Mon, Aug 24, 2009 at 4:13 PM, Fosforo&lt;<a href="mailto:fosforo@gmail.com">fosforo@gmail.com</a>&gt; wrote:<br>
&gt; Salve monges !!<br>
&gt;<br>
&gt; Estou com problemas no uso de DateTime::Format::MySQL junto com<br>
&gt; PAR::Packer, olha o erro, após gerar o arquivo sql com:<br>
&gt;<br>
&gt; pp -o sql sql.pl<br>
&gt;<br>
&gt; ps: ./sql.pl funciona sem problemas ! Estou anexando o sql.pl<br>
&gt;<br>
&gt; [root@nsp-webserv01 ~]# ./sql<br>
&gt; The following parameter was passed in the call to<br>
&gt; DateTime::Format::Builder::Parser::create_single_parser but was not<br>
&gt; listed in the validation options: params<br>
&gt;  at DateTime/Format/Builder/Parser.pm line 311<br>
&gt;        DateTime::Format::Builder::Parser::create_single_parser(&#39;undef&#39;,<br>
&gt; &#39;params&#39;, &#39;ARRAY(0x1c25d120)&#39;, &#39;length&#39;, 14, &#39;regex&#39;,<br>
&gt; &#39;Regexp=SCALAR(0x1c2813a0)&#39;, &#39;extra&#39;, &#39;HASH(0x1c281390)&#39;, ...) called<br>
&gt; at DateTime/Format/Builder/Parser.pm line 501<br>
&gt;        DateTime::Format::Builder::Parser::sort_parsers(&#39;DateTime::Format::Builder::Parser&#39;,<br>
&gt; &#39;HASH(0x1c2808d0)&#39;, &#39;ARRAY(0x1c26b750)&#39;) called at<br>
&gt; DateTime/Format/Builder/Parser.pm line 397<br>
&gt;        DateTime::Format::Builder::Parser::create_multiple_parsers(&#39;DateTime::Format::Builder::Parser&#39;,<br>
&gt; &#39;HASH(0x1c2808d0)&#39;, &#39;HASH(0x1c2811c0)&#39;, &#39;HASH(0x1c281450)&#39;,<br>
&gt; &#39;HASH(0x1c281570)&#39;, &#39;HASH(0x1c281700)&#39;, &#39;HASH(0x1c2876d0)&#39;,<br>
&gt; &#39;HASH(0x1c2877e0)&#39;, &#39;HASH(0x1c2878f0)&#39;, ...) called at<br>
&gt; DateTime/Format/Builder/Parser.pm line 600<br>
&gt;        DateTime::Format::Builder::Parser::create_parser(&#39;DateTime::Format::Builder::Parser&#39;,<br>
&gt; &#39;ARRAY(0x1c23e9c0)&#39;, &#39;HASH(0x1c2811c0)&#39;, &#39;HASH(0x1c281450)&#39;,<br>
&gt; &#39;HASH(0x1c281570)&#39;, &#39;HASH(0x1c281700)&#39;, &#39;HASH(0x1c2876d0)&#39;,<br>
&gt; &#39;HASH(0x1c2877e0)&#39;, &#39;HASH(0x1c2878f0)&#39;, ...) called at<br>
&gt; DateTime/Format/Builder.pm line 156<br>
&gt;        DateTime::Format::Builder::create_parser(&#39;DateTime::Format::Builder&#39;,<br>
&gt; &#39;ARRAY(0x1c287a60)&#39;) called at DateTime/Format/Builder.pm line 174<br>
&gt;        DateTime::Format::Builder::create_end_parser(&#39;DateTime::Format::Builder&#39;,<br>
&gt; &#39;ARRAY(0x1c287a60)&#39;) called at DateTime/Format/Builder.pm line 104<br>
&gt;        DateTime::Format::Builder::create_class(&#39;undef&#39;, &#39;parsers&#39;,<br>
&gt; &#39;HASH(0x1c287b00)&#39;, &#39;class&#39;, &#39;DateTime::Format::MySQL&#39;) called at<br>
&gt; DateTime/Format/Builder.pm line 48<br>
&gt;        DateTime::Format::Builder::import(&#39;DateTime::Format::Builder&#39;,<br>
&gt; &#39;parsers&#39;, &#39;HASH(0x1c287b00)&#39;) called at DateTime/Format/MySQL.pm line<br>
&gt; 11<br>
&gt;        DateTime::Format::MySQL::BEGIN() called at<br>
&gt; DateTime/Format/Builder.pm line 71<br>
&gt;        eval {...} called at DateTime/Format/Builder.pm line 71<br>
&gt;        require DateTime/Format/MySQL.pm called at script/sql.pl line 10<br>
&gt;        main::BEGIN() called at DateTime/Format/Builder.pm line 71<br>
&gt;        eval {...} called at DateTime/Format/Builder.pm line 71<br>
&gt;        require main called at /usr/lib/perl5/site_perl/5.8.8/PAR.pm line 636<br>
&gt;        PAR::_run_member(&#39;Archive::Zip::ZipFileMember=HASH(0x1bc92d10)&#39;,<br>
&gt; 1) called at script/main.pl line 19<br>
&gt;        require main called at /usr/lib/perl5/site_perl/5.8.8/PAR.pm line 636<br>
&gt;        PAR::_run_member(&#39;Archive::Zip::ZipFileMember=HASH(0x1bc92b40)&#39;)<br>
&gt; called at /usr/lib/perl5/site_perl/5.8.8/PAR.pm line 428<br>
&gt;        PAR::import(&#39;PAR&#39;) called at -e line 944<br>
&gt;        eval {...} called at -e line 210<br>
&gt;        __par_pl::BEGIN() called at DateTime/Format/Builder.pm line 71<br>
&gt;        eval {...} called at DateTime/Format/Builder.pm line 71<br>
&gt; BEGIN failed--compilation aborted at DateTime/Format/MySQL.pm line 71.<br>
&gt; Compilation failed in require at script/sql.pl line 10.<br>
&gt; BEGIN failed--compilation aborted at script/sql.pl line 10.<br>
&gt;<br>
&gt; Não sou tão fluente em perl para modificar o package<br>
&gt; &quot;DateTime::Format::Builder::Parser&quot; em<br>
&gt; /usr/lib/perl5/site_perl/5.8.8/DateTime/Format/Builder/Parser.pm<br>
&gt;<br>
&gt; :-(<br>
&gt;<br>
&gt; Muito obrigado !!<br>
&gt;<br>
&gt; []s Fosforo<br>
&gt;<br>
&gt; --<br>
&gt; Now you&#39;re being rude,<br>
&gt; and I hate rude people.<br>
&gt;<br>
&gt; -Hannibal Lecter<br>
&gt;<br>
</div></div>_______________________________________________<br>
Rio-pm mailing list<br>
<a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Just another Perl Hacker,<br>Fernando (SmokeMachine)<br><a href="http://perl-e.org">http://perl-e.org</a><br>