Help for this page

Select Code to Download


  1. or download this
    while (my $inp = <>) {
        $inp =~ s/^\s*(\w+)\s*$/$1/;
    ...
            print "Command unknown: '$inp'\n";
        }
    }
    
  2. or download this
    while (my $inp = <>) {
        $inp =~ s/^\s*(\w+)\s*$/$1/;
    ...
            print "Command unknown: '$inp'\n";
        }
    }
    
  3. or download this
    my %dispatch_table = (
        AB => \&AB,
    ...
            print "Command unknown: '$inp'\n";
        }
    }