comparison runtime/doc/if_perl.txt @ 3920:c53344bacabf

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Thu, 15 Nov 2012 21:28:22 +0100
parents 536aa8b0c934
children 6ec6b7ff2d43
comparison
equal deleted inserted replaced
3919:23fc3dc4317e 3920:c53344bacabf
1 *if_perl.txt* For Vim version 7.3. Last change: 2012 Aug 02 1 *if_perl.txt* For Vim version 7.3. Last change: 2012 Oct 25
2 2
3 3
4 VIM REFERENCE MANUAL by Sven Verdoolaege 4 VIM REFERENCE MANUAL by Sven Verdoolaege
5 and Matt Gerassimof 5 and Matt Gerassimof
6 6
173 173
174 *perl-DoCommand* 174 *perl-DoCommand*
175 VIM::DoCommand({cmd}) Executes Ex command {cmd}. 175 VIM::DoCommand({cmd}) Executes Ex command {cmd}.
176 176
177 *perl-Eval* 177 *perl-Eval*
178 VIM::Eval({expr}) Evaluates {expr} and returns (success, val). 178 VIM::Eval({expr}) Evaluates {expr} and returns (success, value) in list
179 context or just value in scalar context.
179 success=1 indicates that val contains the value of 180 success=1 indicates that val contains the value of
180 {expr}; success=0 indicates a failure to evaluate 181 {expr}; success=0 indicates a failure to evaluate
181 the expression. '@x' returns the contents of register 182 the expression. '@x' returns the contents of register
182 x, '&x' returns the value of option x, 'x' returns the 183 x, '&x' returns the value of option x, 'x' returns the
183 value of internal |variables| x, and '$x' is equivalent 184 value of internal |variables| x, and '$x' is equivalent