Hi, 
 I want to conver a number to binary. I installed Math::BigInt, and get this 
error when trying to plugin in the main controller:
 Can't locate Catalyst/Plugin/Math/BigInt.pm ... in 
/lib/usr/lib/perl5/5.8.5/i386-linux-thread-multi .. 
 
 eventhough the installion is good. And I checked if the module installed. 
There is a BigInt.pm in /lib /usr/lib/perl5/5.8.5/Math , and bigint.pm 
(lowercase) in /lib /usr/lib/perl5/5.8.5 
 I'm not sure why I get the error.
 Then, I try to plugin in the controller that needs the functions, no compiling 
error, but runtime error when I try to use the function, such as 
 
$x->as_bin();

this is my code: 
my $x = 10;
$c->stash->{mybinary} = $x->as_bin();

Please help me to get this right. Also, I could not install
Bundle::Math

Thank you.

 
 
 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to