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

Adding/deleting a file

Thread Next
From:
rory oconnor
Date:
January 16, 2002 00:36
Subject:
Adding/deleting a file
Message ID:
1011170332.7924.36.camel@orthanc.thewhiteroom.com
I need to touch a file with a "1" in it if a condition is true, and
either toggle the "1" to a "0" or delete the file (whichever is better,
probably toggle) if another condition is true.  Excuse my
newbie-ness...but can anyone give me some hints as to the correct syntax
for that?

thanks,

rory


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