
Jean
User

Apr 23, 2002, 12:19 AM
Post #4 of 4
(263 views)
|
|
Re: [JFrost] Writing to a text file
[In reply to]
|
Can't Post
|
|
The structure might be al following: my @new_file; open <main file; while (<main file>) { get the description file and the rest of the fields; open <description file; get the description; push(@new_file, $all, $the, $relevant, $fields, $from, $both, $files); close description file; } close main file; open >main file; write the contents of the @new_file to the main file; close main file; Hope this clarifies something...
Jean Spector SQA Engineer @ Exanet jean.spector@softhome.net There are only 10 types of people in the world - Those who understand binary, and those who don't.
(This post was edited by Jean on Apr 23, 2002, 12:19 AM)
|