On 2012-03-08 08:24, sunita.prad...@emc.com wrote:
Hi
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 ?
You wanted to find out the numbers between the two. While playing
around, I found this:
perl -e 'printf "%X\n", $_ for ( 0x415a+1 .. 0x415f-1 )
...prints:
415B
415C
415D
415E
Steve
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/