develooper Front page | perl.perl5.porters | Postings from August 2010

Re: mauve::reftype()

Thread Previous | Thread Next
Zsbán Ambrus
August 30, 2010 03:51
Re: mauve::reftype()
Message ID:
On Mon, Aug 30, 2010 at 12:49 PM, Zsbán Ambrus <> wrote:
> On Mon, Aug 30, 2010 at 12:46 PM, demerphq <> wrote:
>> On 30 August 2010 12:33, Zsbán Ambrus <> wrote:
>>> On Mon, Aug 30, 2010 at 11:37 AM, demerphq <> 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
>>>> 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.


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