I have a question/request concerning perl6 object properties.
I've done some work with .NET and They have come up with a really slick way
to handle object properties.
A typical property definition in VB.NET looks like:
Public Property description() As String
Get
return aString
End Get
I have a question/request concerning perl6 object properties.
I've done some work with .NET and They have come up with a really slick
way to handle object properties.
A typical property definition in VB.NET looks like:
Public Property propertyName() As String
Get
return aString
End Get
Todd W. writes:
> I have a question/request concerning perl6 object properties.
Rather, attributes. Properties are out-of-band data attached to a
particular object.
> I've done some work with .NET and They have come up with a really slick way
> to handle object properties.
>
> A typical propert
On Wed, Sep 24, 2003 at 07:53:39PM -0400, Todd W. wrote:
I posted a question to CLPM on how to do this with perl5 and we decided to
use an 'lvalue' attribute on the subroutine and then make the returned
lvalue in the sub a tied variable to intercept read/writes:
http://groups.google.com/groups?t
On Wed, 24 Sep 2003, Todd W. wrote:
> I have a question/request concerning perl6 object properties.
>
> I've done some work with .NET and They have come up with a really slick way
> to handle object properties.
>
> A typical property definition in VB.NET looks like:
>
> Public Property descript
On Thu, 25 Sep 2003, Luke Palmer wrote:
> Todd W. writes:
> > I have a question/request concerning perl6 object properties.
>
> Rather, attributes. Properties are out-of-band data attached to a
> particular object.
FWIW, "attribute" and "property" are two words that have a meaning that
shifts
: >[EMAIL PROTECTED] (Luke Palmer) writes:
: >
: >
: >>I would hope the former. However, what about this compile-time
: >>integral power macro[1]?
: >>
: >> macro power ($x, $p) {
: >> if $p > 0 {
: >> { $x * power($x, $p-1) }
: >> }
: >> else {
: >> { 1 }
:
On Mon, Sep 08, 2003 at 11:18:12AM +0200, Paul Johnson wrote:
: By the way, I trust this will be addressed (if it hasn't been already):
:
: perl5 -le 'print "gah!" if exists $a{b}{c}; print "phooey!" if exists $a{b}'
:
: perlfunc says:
:
: This surprising autovivification in what does not at f