difference between '>>' and '>' in Perl?

Posted by Karandeep Singh on Stack Overflow See other posts from Stack Overflow or by Karandeep Singh
Published on 2010-06-09T08:54:11Z Indexed on 2010/06/09 9:32 UTC
Read the original article Hit count: 249

Filed under:
|
|

What is the difference between these two code snippets?

  1. open (MYFILE, '>>data.txt');

  2. open (MYFILE, '>data.txt');

© Stack Overflow or respective owner

Related posts about perl

Related posts about file-handling