Re: PL/Perl Does not Like vstrings - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: PL/Perl Does not Like vstrings
Date
Msg-id F026D4D1-56B0-4F6C-AAC1-3B803612A7C6@justatheory.com
Whole thread Raw
In response to Re: PL/Perl Does not Like vstrings  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Jan 5, 2012, at 9:50 AM, Andrew Dunstan wrote:

> The fix that has been applied, as Tom suggested, is at the point where we call SvPVutf8(), so that's not just for
elog().

Great, thanks.

> As documented, it's not a scalar, and you need to stop treating it as one. If you want it as a scalar, which is what
you'dneed here, enclose it in quotes, or use the stuff shown in perldoc perlvar. 

Oh, right $^V is a version object.

Best,

David




pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: PL/Perl Does not Like vstrings
Next
From: Andrew Dunstan
Date:
Subject: Re: PL/Perl Does not Like vstrings