develooper Front page | perl.beginners | Postings from February 2002

appending files

Thread Next
February 25, 2002 06:11
appending files
Message ID:

i have this very interesting task, and i need some inspiration.

i have a directory with say 10 fcgi files (text files):

now i would like to have a temp.fcgi file which contains all of the date from the .fcgi files (appended). however, i want my program to update the temp.fcgi file if new .fcgi files are added the directory. i was thinking something like testing the combined size of the .fcgi files compared to temp.fcgi and if it differs then wipe temp.fcgi and generate a new one?

how can that be done?



Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About