in reply to Re: Re: split a delimited file
in thread split a delimited file
Then, when you use <FH>, it won't give you the next line but the next record, that us, up to the next occurance of "/t::/t". Then, within your while loop, your $_ is now something like (if "\n::\n" is the field separator)local $/ = "\t::\t";
Then, just split that bad boy into individual fields like you do in your second code sample and you'll be set.uname :: categ :: title :: locat :: $desc etc.
|
|---|