Bug#587704: vim-gnome: built-in perl emulator Buffer->Get method doesn't work as documented

James Vega jamessan at debian.org
Thu Jul 1 12:21:21 UTC 2010

On Wed, Jun 30, 2010 at 04:52:17PM -0700, Britton Leo Kerin wrote:
> This fragment:
> our $curbuf;
> my $buf_header = $curbuf->Get( 1 .. 3 );
> Doesn't work as described in the documentation, I end up with $buf_header empty
> (with a buffer that does contain these lines).

“my @buf_header = $curbuf->Get(1 .. 3);” works fine.  Were you expecting
$buf_header to be 3 due to the list being used in scalar context?

GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20100701/7cd27472/attachment.pgp>

More information about the pkg-vim-maintainers mailing list