found the problem but don't know how to solve it.

it seams that when you use bignum library under CentOS and set accuracy to 300 everything blocks.

use bignum accuracy => 300;
if a omit the accuracy everything is working. What should i do? (except omitting the accuracy set - i need that to be set to 300 !!!)

However this is working

perl -Mbignum=a,50 -le 'print sqrt(20)'
but this blocks the script if it is used within a module
use bignum accuracy => 50; print sqrt(20);
Oh and my OS
CentOS release 5.6 (Final) cat /proc/version Linux version 2.6.18-238.19.1.el5 (mockbuild@builder10.centos.org) (gc +c version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Fri Jul 15 07:31: +24 EDT 2011

In reply to Is this a BUG Re: Problem running scripts under CentOS by baxy77bax
in thread Problem running scripts under CentOS by baxy77bax

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.