Help for this page

Select Code to Download


  1. or download this
    open(LINE, ">:encoding(UTF-8)", "line.txt") or die "\nCan't create fil
    +e: $!\n";
    print LINE "text" . chr(13) . "more text";
    
  2. or download this
    $/ = LF;
    open(LINE, ">:encoding(UTF-8)", "line.txt") or die "\nCan't create fil
    +e: $!\n";
    print LINE "text\nmore text";