Help for this page

Select Code to Download


  1. or download this
    open my $fh, '<', 'list.txt' or die "Can't open list.txt: $!";
    
  2. or download this
    my ( $a, @ss ) = split ...
    
  3. or download this
    while ( my $line = <$fh> ){
        chomp $line;
        print "$line\n";
    }