The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
another way is filling in undef for the ignored fields
my ($first,$second,undef,$third,undef,$fourth,undef,$fifth,undef,$sixth) = split / /, $line; please also note that split operates on regexes, so /\s+/ might be what is really wanted.
Cheers Rolf In reply to Re^2: Extracting selected fields form file record
by LanX
|
|