home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December (Special)
/
PCWorld_2005-12_Special_cd.bin
/
Bezpecnost
/
lsti
/
lsti.exe
/
framework-2.5.exe
/
eval.al
< prev
next >
Wrap
Text File
|
2005-04-27
|
520b
|
18 lines
# 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;