Re: Calling touch ...

2001-06-12 Thread Karthik Krishnamurthy
On Wed, 13 Jun 2001, [EMAIL PROTECTED] wrote: > Thanks for pointing me in a better direction. I used this ... > > > > $now = time; > > utime $now, $now, @files; # sets access and modification time > > ... and expanded it to this ... > > $now = time; > > print $now; > > @meters = ("test0612

Re: Calling touch ...

2001-06-12 Thread innovative-peripherals
Thanks for pointing me in a better direction. I used this ... > $now = time; > utime $now, $now, @files; # sets access and modification time ... and expanded it to this ... $now = time; print $now; @meters = ("test0612d.shtml"); foreach $file (@meters) { utime $now, $now, $fil

Re: Calling touch ...

2001-06-12 Thread Jos Boumans
on a *nix system, any file created automatically get's a timestamp... as far as 'touch' goes, this might well be over kill in this case. concider the following: open O, ">foo.txt"; this creates 'foo.txt' and opens it for writing. now, if you dont write anything to it, that's your choice... and y

Re: Calling touch ...

2001-06-12 Thread Hasanuddin Tamir
On Tue, 12 Jun 2001, [EMAIL PROTECTED] > Here is the latest statements that I tried. > > system 'touch', 'test0612a.shtml'; system() returns 0 on success, other value on failure. What did you expect? If it fails to touch the file, is the path correct? Don't you need the full path to the file?