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

Re: package block syntax

Thread Previous | Thread Next
From:
Zefram
Date:
April 28, 2010 01:53
Subject:
Re: package block syntax
Message ID:
20100428085313.GB7385@lake.fysh.org
??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.

-zefram

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