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