Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "read: $line\n";
    
    print $fh "bar", "baz";
    
  2. or download this
    reading line from remote file foo.txt ...
    read: foo
    
    writing line(s) to remote file foo.txt ...
    wrote: bar baz