Name : perl-Term-Shell
| |
Version : 0.10
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2019-01-02 16:11:36
|
Group : Development/Libraries/Perl
| Source RPM : perl-Term-Shell-0.10-1.1.src.rpm
|
Size : 0.10 MB
| |
Packager : (none)
| |
Summary : Simple command-line shell framework
|
Description :
Term::Shell lets you write simple command-line shells. All the boring details like command-line parsing, terminal handling, and tab completion are handled for you.
The base class comes with two commands pre-defined: exit and help.
To write a shell with an \'exec\' command, do something like this:
package MyShell; use base qw(Term::Shell); # or manually edit AATTMyShell::ISA.
sub run_exec { my ($o, $cmd, AATTargs) = AATT_; if ($cmd ne $0) { print \"I\'m sorry you\'re leaving us...\ \"; } exec $cmd, AATTargs; exit 1; }
When Term::Shell needs to handle the \'exec\' command, it will invoke this method. That\'s all there is to it! You write handlers, and Term::Shell handles the gory details.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12_SP4/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Term::Shell)
perl(Term::Shell::OnScopeLeave)
perl-Term-Shell
Requires :