in reply to Fetch numbers only

$num=$1 if$var=~/(\d+)$/

Replies are listed 'Best First'.
Re^2: Fetch numbers only
by Anonymous Monk on Feb 14, 2006 at 19:55 UTC
    Thanks for the very quick responses and answering my question.