Help for this page

Select Code to Download


  1. or download this
    open PLAY, $mit_shakes || die "Could not open file: $!\n";
    
  2. or download this
    open( PLAY, $mit_shakes ) || die "Could not open file: $!\n";
    
  3. or download this
    open PLAY, $mit_shakes or die "Could not open file: $!\n";
    
  4. or download this
    until ($line =~ m/<\/head>/) {
      if ($line =~ m/<title>(.*)<\/title>/) {
    ...
      print "$line\n";
      $line = <PLAY>;
    }
    
  5. or download this
    while ( my $line = <PLAY> ) {
        last if $line =~ m/<\/head>/;
    ...
        }
        print "$line\n";
    }
    
  6. or download this
    my $i = 0;
    
    ...
    }
    
    print ". </h2>\n";
    
  7. or download this
    print join ', ', @ARGV, "</h2>\n";
    
  8. or download this
    while (<PLAY>) {
      $line = $_;
    
  9. or download this
    while ( my $line = <PLAY> ) {
    
  10. or download this
      foreach (@ARGV) {
        my $character = $_;
    
  11. or download this
      foreach my $character ( @ARGV ) {