Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    my $filename = "C:/mlb_boxscore107238$4820.txt";
    open(INPUT, '<'.$filename) or die "Can't open $filename: $!\n";
    
  2. or download this
    Name "main::INPUT" used only once: possible typo at test.pl line 4.
    Use of uninitialized value in concatenation (.) at test.pl line 3.
    Can't open C:/mlb_boxscore107238.txt: No such file or directory