http://www.perlmonks.org?node_id=122083


in reply to Re: Extract numbers in multiple bases
in thread Extract numbers in multiple bases

That should be return $foo - this won't deal with several of the specified cases like h and t suffixes but it is clever nonetheless :-)

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print