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

Re: package block syntax

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
April 28, 2010 02:01
Subject:
Re: package block syntax
Message ID:
h2gb77c1dce1004280201o7c305b9ekb31b3e3d05912a59@mail.gmail.com
On 28 April 2010 10:53, Zefram <zefram@fysh.org> wrote:
> ??var Arnfj??r?? Bjarmason wrote:
>>> - B::Deparse would need ajdusting
>
> Shouldn't need adjusting.  I believe it'll just deparse as "{ package Foo;
> ... }", which is correct.  Haven't tried it, though.
>
>>segfaults: package Foo {
>
> Interesting.  I'll look into it.
>
>>goto inside/out of package: works:
>
> Well of course it works: it's got the same op tree as for a bare "{
> ... }" block.  Inward goto is deprecated, of course.

Indeed :) I'm not asking if it works, I'm asking for tests to make
sure it keeps working.

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