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

[email protected] (Michael Fowler)
Newsgroups perl.perl6.language.objects
Message-ID <[email protected]>
On Thu, Aug 31, 2000 at 09:45:52PM -0600, Tom Christiansen wrote:
> >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.

Well this is good to know (and I should have known it, too).  I will remove
them as alternatives.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--
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.