On 2012-03-08 08:41, John W. Krahn wrote:
sunita.prad...@emc.com wrote:
Hi

Hello,

I have one range of hexadecimal numbers like : 415A till 415F .
I need to find all other numbers between this 2 . Is there any Perl
function which will help to find all numbers or any other way in Perl ?

$ perl -e'printf "%X\n", $_ for hex( "415A" ) .. hex( "415F" )'

Sweet.

Steve

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to