Rob Dixon wrote:
>
> John W. Krahn wrote:
> > Rob Dixon wrote:
> > >
> > > Also your check for a hex number is wrong - it will be successful if the
> > > string contains at least one alpha character. Change this for
> > >
> > > if ($flds[5] =~ /^[a-z0-9]+$/)
> >
> > Also wrong. It should be:
>
John W. Krahn wrote:
> Rob Dixon wrote:
> >
> > Sudarshan Raghavan wrote:
> > > Sachin Hegde wrote:
> > > >
> > > > <131> if($flds[5] =~ /[a-zA-Z]+/)# Check for a hex number
> >
> > Also your check for a hex number is wrong - it will be successful if the
> > string contains at least
Rob Dixon wrote:
>
> Sudarshan Raghavan wrote:
> > Sachin Hegde wrote:
> > >
> > > <131> if($flds[5] =~ /[a-zA-Z]+/)# Check for a hex number
>
> Also your check for a hex number is wrong - it will be successful if the
> string contains at least one alpha character. Change this for
Sudarshan Raghavan wrote:
> Sachin Hegde wrote:
>
> > Hi,
> > There is this warning which I can't remove :
> >
> > Illegal hexadecimal digit '
> > ' ignored at test.pl line 131, line 23.
>
>
> It is the newline at the end
>
> >
> >
> > test.pl is the name of the program while FH is a file handle(r
Sachin Hegde wrote:
Hi,
There is this warning which I can't remove :
Illegal hexadecimal digit '
' ignored at test.pl line 131, line 23.
It is the newline at the end
test.pl is the name of the program while FH is a file handle(read
only). Part of my code is:
<129> $ln = ;
<130> @f
Hi,
There is this warning which I can't remove :
Illegal hexadecimal digit '
' ignored at test.pl line 131, line 23.
test.pl is the name of the program while FH is a file handle(read only).
Part of my code is:
<129> $ln = ;
<130> @flds = split(/ /,$ln);
<131> if($flds[5] =~ /[a-zA-Z]