Help for this page

Select Code to Download


  1. or download this
    $file = aaa.txt
    first time file mode
    ...
    {
    write some o/p data
    close( $testfile );
    
  2. or download this
    open( my $testfile, "+>> $file" ) $!\n";
    
    ...
    now adding some other info to the existing file
    
    close the file