At 08:42 26.06.2001 -0700, Curtis Poe wrote:
> >
> > open (IN, "file") || die("Couldn't open file $!");
> > while(<IN>)
> > {
> > chomp;
> > my @asLines = split(/[\t\s]+/, $_);
> > Load_Stat_Rec(\@asLines);
> > }
> > close IN;
>
>I'd be a trifle concerned about this. First, the character class is
>unecessary as a tab is
>considered whitespace. However, I don't know if we have enough of the
>input data to ensure that
>this will work consistently. The following record would break this
>(because of a middle name):
>
>Jones, John Van 35 20 02 05/02/2001 F 060506050705040405047 11 04 01
Good call -- I hadn't thought of that.
Aaron Craig
Programming
iSoftitler.com