in reply to Re: appending to a file
in thread appending to a file

fletch++

To give a more direct example of what Fletch is talking about, do you know what happens in this piece of code if the change directory does not exist?

my $dir = "/my/working/directory"; chdir ( $dir ); system ("rm -rf *");

Replies are listed 'Best First'.
Re^3: appending to a file
by lomSpace (Scribe) on Mar 19, 2009 at 21:58 UTC
    This removes everything in the dir.