There isn't an actual equivalent function. However, take a look at these:
In reply to Re: JavaScript parseInt() by jryan in thread Perl equivalent of JavaScript parseInt()? by target