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

appending files

Thread Next
From:
maasha
Date:
February 25, 2002 06:11
Subject:
appending files
Message ID:
20020225141118.GA2873@image
hi

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?


-martin

-- 

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About