my $y= do { use integer; $x+0 }; [download]
I agree it would be nice if int() did that already.
In reply to Re: Weird behavior of int() by NERDVANA in thread Weird behavior of int() by cLive ;-)