Help for this page

Select Code to Download


  1. or download this
    open my $fh, ">", "./foo.txt" 
       or die( "Couldn't etc." );
    ...
    
    print $fh "$_\n" for 1..10;
    close $fh;