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

Re: package block syntax

Thread Previous | Thread Next
April 28, 2010 01:53
Re: package block syntax
Message ID:
??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.


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