in reply to Re: Changing the value of a BigInt?
in thread Changing the value of a BigInt?

Then you want to tie it; something like:
{ package Tie::AutoBigInt; use Tie::Scalar; use base "Tie::StdScalar"; sub STORE { $_[0]->SUPER::STORE(new BigInt $_[1]) } } tie $strtcnt, "Tie::AutoBigInt";