J
Jack
Hi folks,
Ok I am stumped... I am reading a fileline in as follows:
12535957@140@2006-07-08 09:34:45.000@@@2005-11-24@
and splitting on the "@"...
open(SOURCE1,$filename1)
@columnarray = split(/\@/, $_);
Whats really wierd is $columnarray[4] has a length of 1, when clearly
above its NULL !!
I want to be able to recognize this as null, but you cant even match
regex it... I tried
if ($columnarray[4] =~ m/.*?[[rint:]]/) { print " NON PRINTABLE
"."\n"; }
$columnarray[4] =~ s/^\s+//;
$columnarray[4] =~ s/\s+$//;
$length = length @columnarray[4]."\n";
and a number of other things that dont work.. how do I identify "WHAT"
is making up the length =1 ?
Also, what is the detection match test for NULL ?
Thank you all much,
Jack
Ok I am stumped... I am reading a fileline in as follows:
12535957@140@2006-07-08 09:34:45.000@@@2005-11-24@
and splitting on the "@"...
open(SOURCE1,$filename1)
@columnarray = split(/\@/, $_);
Whats really wierd is $columnarray[4] has a length of 1, when clearly
above its NULL !!
I want to be able to recognize this as null, but you cant even match
regex it... I tried
if ($columnarray[4] =~ m/.*?[[rint:]]/) { print " NON PRINTABLE
"."\n"; }
$columnarray[4] =~ s/^\s+//;
$columnarray[4] =~ s/\s+$//;
$length = length @columnarray[4]."\n";
and a number of other things that dont work.. how do I identify "WHAT"
is making up the length =1 ?
Also, what is the detection match test for NULL ?
Thank you all much,
Jack