And attributes are essentially member variables of objects, which you
can access as $obj.foo. Another possible description of
them might be
lvalue methods which never take arguments, and which fetch and store
class-specific pieces of data. Different classes may define their own
private
From: Erik Bågfors [mailto:[EMAIL PROTECTED]
On Sun, 2003-03-02 at 23:21, Dan Sugalski wrote:
Okay, here's another shot at the semantics for objects. If folks,
especially non-perl folks, would look this over and chime in, I'd
much appreciate it.
Objects have (all optional):
On Mon, 2003-03-03 at 16:52, Garrett Goebel wrote:
From: Erik Bågfors [mailto:[EMAIL PROTECTED]
On Sun, 2003-03-02 at 23:21, Dan Sugalski wrote:
Okay, here's another shot at the semantics for objects. If folks,
especially non-perl folks, would look this over and chime in, I'd
much
Erik Bågfors wrote:
On Mon, 2003-03-03 at 16:52, Garrett Goebel wrote:
From: Erik Bågfors [mailto:[EMAIL PROTECTED]
On Sun, 2003-03-02 at 23:21, Dan Sugalski wrote:
Objects have (all optional):
*) Properties
*) Methods
*) Attributes
Can you give a clear
Erik Bågfors wrote:
Garrett Goebel wrote:
Erik Bågfors wrote:
Dan Sugalski wrote:
Okay, here's another shot at the semantics for objects. If
folks, especially non-perl folks, would look this over and chime
in, I'd much appreciate it.
Objects have (all optional):
*) Properties
*) Methods
At 5:30 PM +0100 3/3/03, Erik Bågfors wrote:
On Mon, 2003-03-03 at 16:52, Garrett Goebel wrote:
From: Erik Bågfors [mailto:[EMAIL PROTECTED]
On Sun, 2003-03-02 at 23:21, Dan Sugalski wrote:
Okay, here's another shot at the semantics for objects. If folks,
especially non-perl folks,
At 12:43 PM -0500 3/3/03, Benjamin Goldberg wrote:
AFAIK, though, properties are only attatched to values (not variables),
and are entirely run-time things.
Nope, they can go on both (or either), which makes things somewhat
more interesting.
--
Dan