Name : perl-Term-Shell
| |
Version : 0.09
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.2
| Date : 2016-10-29 11:04:16
|
Group : Development/Libraries/Perl
| Source RPM : perl-Term-Shell-0.09-1.2.src.rpm
|
Size : 0.09 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/openSUSE_Leap_42.2/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 :