Re: RFC 171 (v2) my Dog $spot should call a constructor implicitly

[email protected] (Tom Christiansen)
Newsgroups perl.perl6.language.objects
Message-ID <29077.967779952@chthon>
>Well, remember that BEGIN{} blocks are just subs too, with an optional
>'sub'.

Not exactly.  They are not callable, as they disappear immediately.
More importantly, they have no @_, and things like pop and shift
act upon @ARGV from within them.

The compilerish chapter of the Camel calls them blocks.

--tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.