develooper Front page | perl.perl5.porters | Postings from November 2000

Re: SvOOK_on

Thread Previous | Thread Next
Nick Ing-Simmons
November 25, 2000 11:46
Re: SvOOK_on
Message ID:
Jarkko Hietaniemi <> writes:
>On Sat, Nov 25, 2000 at 10:46:34AM -0800, Gurusamy Sarathy wrote:
>> On Sat, 25 Nov 2000 12:25:57 CST, Jarkko Hietaniemi wrote:
>> >On Sat, Nov 25, 2000 at 06:20:15PM +0000, Nicholas Clark wrote:
>> >> but I can find no part of the perl tree that ever seems to turn on this
>> >> feature. Am I missing something, or is this now an unused vestige, or do
>> >
>> >I tried to find such a spot once, too, with as plentiful results as you
>> >have got.
>> See sv_chop().
>Okay, I must be blind.  But I blame the whoever it was who wrote
>sv_chop() for not using SvOOK_on(sv) :-)

The _odd_ thing about that is that SvOOK would seem to be about lying 
about the _start_ of the string, and chop makes one think of the end 
of the string. The other place that seems to use it (as one might 
expect) is s/^...//;

>> Sarathy
Nick Ing-Simmons

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About