comparison runtime/doc/if_perl.txt @ 18343:375a7ecdb351

Update runtime files. Commit: https://github.com/vim/vim/commit/2e693a88b24dc6b12883fad78ff2cb9cd4469c98 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 22:35:02 2019 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 22:45:04 +0200
parents 2704c4e3e20a
children 6848b809a26e
comparison
equal deleted inserted replaced
18342:fedab77fee7b 18343:375a7ecdb351
53 :pe[rl] {cmd} Execute Perl command {cmd}. The current package 53 :pe[rl] {cmd} Execute Perl command {cmd}. The current package
54 is "main". Simple example to test if `:perl` is 54 is "main". Simple example to test if `:perl` is
55 working: > 55 working: >
56 :perl VIM::Msg("Hello") 56 :perl VIM::Msg("Hello")
57 57
58 :pe[rl] << [endpattern] 58 :pe[rl] << [endmarker]
59 {script} 59 {script}
60 {endpattern} 60 {endmarker}
61 Execute Perl script {script}. 61 Execute Perl script {script}.
62 The {endpattern} after {script} must NOT be preceded 62 The {endmarker} after {script} must NOT be preceded by
63 by any white space. 63 any white space.
64 64
65 If [endpattern] is omitted, it defaults to a dot '.' 65 If [endmarker] is omitted, it defaults to a dot '.'
66 like for the |:append| and |:insert| commands. Using 66 like for the |:append| and |:insert| commands. Using
67 '.' helps when inside a function, because "$i;" looks 67 '.' helps when inside a function, because "$i;" looks
68 like the start of an |:insert| command to Vim. 68 like the start of an |:insert| command to Vim.
69 69
70 This form of the |:perl| command is mainly useful for 70 This form of the |:perl| command is mainly useful for