On Thu, Mar 8, 2012 at 10:24 AM, <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 ? > > > Thanks > Sunita >
my @numbers = hex("415A")..hex("415F"); See perldoc -f hex and 'Range Operators' under perldoc perlop.