Trey Harris asked:
> Another one...
>
> class Foo is Bar;
>
> method a {
> setup();
> }
>
> 1;
> # EOF
>
> (Is the 1 still required?
No.
> I think I heard Damian say it was going away.)
Yes.
> The question is, is this valid, if Bar defines a sub/static method
> 'setup'?
If C is a C,
On Monday, August 12, 2002, at 01:27 PM, Allison Randal wrote:
> On Sat, Aug 10, 2002 at 07:30:19PM -0400, Chris Dutton wrote:
>>
>> The only problem I could see, and I wanted to wait for at least one
>> other opinion before mentioning this, is rewriting the above as:
>>
>> my $foo_class $foo_obj
On Sat, Aug 10, 2002 at 07:30:19PM -0400, Chris Dutton wrote:
>
> The only problem I could see, and I wanted to wait for at least one
> other opinion before mentioning this, is rewriting the above as:
>
> my $foo_class $foo_obj = $foo_class.new;
I'm not exactly sure what you're trying to do wi
Another one...
class Foo is Bar;
method a {
setup();
}
1;
# EOF
(Is the 1 still required? I think I heard Damian say it was going away.)
The question is, is this valid, if Bar defines a sub/static method
'setup'?
Is my instict right that 'sub' in a class is a 'class/static method' in
the
On Fri, Aug 09, 2002 at 03:09:29PM -0400, Chris Dutton wrote:
>
> This one actually came to me just the other night. Would it be possible
> in Perl 6 to create "anonymous classes"? Something like:
>
> my $foo_class = class {
> method new {
> # yada yada yada
> }
> }
On Saturday, August 10, 2002, at 06:25 PM, Piers Cawley wrote:
> Chris Dutton <[EMAIL PROTECTED]> writes:
>
>> Since Adam Lopesto asked a non-regex question, I don't feel quite as
>> out of place for doing the same.
>>
>> This one actually came to me just the other night. Would it be
>> possible