Front page | perl.perl5.porters |
Postings from August 2010
Re: mauve::reftype()
Thread Previous
|
Thread Next
From:
Zsbán Ambrus
Date:
August 30, 2010 03:51
Subject:
Re: mauve::reftype()
Message ID:
AANLkTimsnNqMwebaEBHRvmCj4G3eMATWBFfQppLaivqH@mail.gmail.com
On Mon, Aug 30, 2010 at 12:49 PM, Zsbán Ambrus <ambrus@math.bme.hu> wrote:
> On Mon, Aug 30, 2010 at 12:46 PM, demerphq <demerphq@gmail.com> wrote:
>> On 30 August 2010 12:33, Zsbán Ambrus <ambrus@math.bme.hu> wrote:
>>> On Mon, Aug 30, 2010 at 11:37 AM, demerphq <demerphq@gmail.com> wrote:
>>>> Actually its interesting you ask this. For various reasons I kinda
>>>> reworked sv_reftype() and while doing so observed it is somewhat
>>>> capricious about this. Take a look at the documentation in mauve.pm
>>>> for reftype(), which is generated from parsing the code in
>>>> sv_reftype(), to see all the "kinds" of types that we might report. I
>>>> tried to include sample code of either how to dereference the thing,
>>>> or code to create one, but some of them im not sure how to create.
>>>
>>> Please tell which types you're talking about if you need help from p5p
>>> about this.
>>
>> Here is what is in the pod.
>
> Yes, I've read it. I'd like to know which types are those for which
> you're not sure how to create. I assume you do know how to create an
> array reference etc.
Uh, ignore that, I see you already have the examples for creation in
the pod. Sorry.
As for LVALUE, substr and vec return it, but it's not preserved
through assignment but only captured by a backslash.
Ambrus
Thread Previous
|
Thread Next