Help for this page

Select Code to Download


  1. or download this
    To write to an IO::Handle, use the print method.
    
  2. or download this
    my $wfh = open("in.txt", :w);
    $wfh.print("a\n");
    $wfh.close;
    
  3. or download this
    spurt "in.txt", "a\n";