Help for this page

Select Code to Download


  1. or download this
    package MyShell;
    
    ...
    
    my $shell = MyShell->new;
    $shell->cmdloop;
    
  2. or download this
    use Term::ReadLine;
      
    ...
        exit if /exit/ or /quit/;
        print $_, "\n";
    }