Help for this page

Select Code to Download


  1. or download this
    open(my $fh, "<", "data.txt") || die "Can't open file: $!";
    
  2. or download this
    open (FH, '<data.txt') || die "Can't open file: $!";
    
  3. or download this
    while(my $line = <$fh>) {
    
  4. or download this
    while(my $line = <FH>) {