in reply to Floating Point/Integer Regular Expression

Try $RE{num}{real} from Regexp::Common.