in reply to Re: Changing the value of a BigInt?in thread Changing the value of a BigInt?
{ package Tie::AutoBigInt; use Tie::Scalar; use base "Tie::StdScalar"; sub STORE { $_[0]->SUPER::STORE(new BigInt $_[1]) } } tie $strtcnt, "Tie::AutoBigInt"; [download]