home *** CD-ROM | disk | FTP | other *** search
- # NOTE: Derived from lib/Term/ReadLine/Zoid/ViCommand.pm.
- # Changes made here will be lost when autosplit is run again.
- # See AutoSplit.pm.
- package Term::ReadLine::Zoid::ViCommand;
-
- #line 1095 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/eval.al)"
- sub eval {
- my ($self, $_code) = @_;
- print { $$self{OUT} } "\n";
- my $_re = eval $_code;
- print { $$self{OUT} } ($@ ? $@ : "$_re\n");
- $$self{_buffer} = 0;
- return 1;
- }
-
- # end of Term::ReadLine::Zoid::ViCommand::eval
- 1;
-