Help for this page

Select Code to Download


  1. or download this
    my $line = <$filehandle>;
    chomp $line;
    
  2. or download this
    my $line;
    open my $linefh, \$line;
    ...
      print $linefh $char;
    }
    close $linefh;