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?

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to