I install the module through CPAN. Still not sure I get the compiling error if the Math::BigInt included in the main controller. <br> Do you know any other module that can do conversion from integer to binary in Catalyst?<br> <br> Thank you<br><br><b><i>Juan Miguel Paredes <juan.paredes@gmail.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 1/8/07, Will Smith <willbelair @yahoo.com=""> wrote:<br>> Hi,<br>> I want to conver a number to binary. I installed Math::BigInt, and get this<br>> error when trying to plugin in the main controller:<br>> Can't locate Catalyst/Plugin/Math/BigInt.pm ... in<br>> /lib/usr/lib/perl5/5.8.5/i386-linux-thread-multi ..<br>><br>> eventhough the installion is good. And I checked if the module installed.<br>> There is a BigInt.pm in /lib /usr/lib/perl5/5.8.5/Math , and bigint.pm<br>> (lowercase) in /lib
/usr/lib/perl5/5.8.5<br>> I'm not sure why I get the error.<br>> Then, I try to plugin in the controller that needs the functions, no<br>> compiling error, but runtime error when I try to use the function, such as<br>> $x->as_bin();<br>><br>> this is my code:<br>> my $x = 10;<br>> $c->stash->{mybinary} = $x->as_bin();<br>><br>> Please help me to get this right. Also, I could not install<br>> Bundle::Math<br>><br>> Thank you.<br>><br> If you're on Debian (Etch) or derivatives, the "perl-modules" package<br>contains Math::BigInt. How did you install the library? You could also<br>check if the installation directory for that module is included in<br>@INC. Also, I think the module names and packages are<br>case-sensitive...<br><br>Regards,<br><br>Juan M. Paredes A.<br><br>_______________________________________________<br>List: Catalyst@lists.rawmode.org<br>Listinfo:
http://lists.rawmode.org/mailman/listinfo/catalyst<br>Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/<br>Dev site: http://dev.catalyst.perl.org/<br></willbelair></blockquote><br><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com