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 / bindkey.al < prev    next >
Text File  |  2005-04-27  |  547b  |  18 lines

  1. # NOTE: Derived from lib/Term/ReadLine/Zoid/ViCommand.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Term::ReadLine::Zoid::ViCommand;
  5.  
  6. #line 1036 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/bindkey.al)"
  7. sub bindkey {
  8.     my $self = shift;
  9.     $self->SUPER::bindkey(@_) if @_ == 2;
  10.     my @arg = split /=/, $_[0], 2;
  11.     $arg[1] = eval $arg[1];
  12.     return warn $@."\n\n" if $@;
  13.     $self->SUPER::bindkey(@arg);
  14. }
  15.  
  16. # end of Term::ReadLine::Zoid::ViCommand::bindkey
  17. 1;
  18.