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

Re: SvOOK_on

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
November 25, 2000 11:46
Subject:
Re: SvOOK_on
Message ID:
E13zlFg-0003o4-00@roam1
Jarkko Hietaniemi <jhi@iki.fi> 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
>> gsar@ActiveState.com
-- 
Nick Ing-Simmons


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About