Shell::Base

Shell::Base is a generic class to build line-oriented command interpreters.
Download

Shell::Base Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Darren Chamberlain
  • Publisher web site:
  • http://search.cpan.org/~darren/Tie-Google-0.03/Google.pm

Shell::Base Tags


Shell::Base Description

Shell::Base is a generic class to build line-oriented command interpreters. Shell::Base is a generic class to build line-oriented command interpreters.SYNOPSIS package My::Shell; use Shell::Base; use base qw(Shell::Base); sub do_greeting { return "Hello!" }Shell::Base is a base class designed for building command line programs. It defines a number of useful defaults, simplifies adding commands and help, and integrates well with Term::ReadLine.After writing several REP (Read-Eval-Print) loops in Perl, I found myself wishing for something a little more convenient than starting with: while(1) { my $line = ; last unless defined $line; chomp $line; if ($line =~ /^... Requirements: · Perl


Shell::Base Related Software