in reply to Re: how do i ceate a file if its not present
in thread how do i ceate a file if its not present

  • Comment on Re: Answer: how do i ceate a file if its not present

Replies are listed 'Best First'.
Re: Re: Answer: how do i ceate a file if its not present
by Beatnik (Parson) on May 17, 2001 at 11:05 UTC
    I think your first answer is more appropriate...
    >> has similar behaviour as >, so when attempting to write to a non existing file with a >> the file will be created as well. Existing files won't be overwritten tho :)

    Ofcourse anjaana78 could always look at perlfaq5...

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.