|Don't ask to ask, just ask|
Re: Re: Reading data from a delimited flat fileby cjf (Parson)
|on Jun 12, 2002 at 14:00 UTC||Need Help??|
What the text file looked like
I'll take a wild guess and say it's a pipe-delimited flat file, similar to this ;-).
If this is the case, what we need to know is what do you want to do with it?
Update: Also, are you sure the data was properly stored to begin with? Have you opened up the text file and checked if the data is both there and in the proper format?
Another Update: Based on what you posted here , the following should work:
And in readit.pl...
Now in postit.pl you should perform checks on the size of the parameters. You may also want to consider combining the two scripts and having separate modes (one read_data sub and one write_data sub maybe).
Yet Another Update: Guess I should explain the changes I made to your code:
Feel free to post a follow up if you have any more questions.