The thing I'm working on today is the data side of this issue. I'm still very, very fuzzy on how data ends up in an object, but I think I'm on the verge. A few more examples, a little more footling about, and then I'll download something small and OO and try to dissect it.
Data (Score:1)
sub new {
my $class = shift;
return bless {}, $class;
}
Some people will just allow data access via this hash, directly:
sub new {
my $class = shift;
return bless {blargh => 'data'}, $class;
}
Re:Data (Score:1)
So that I can look it up, what's that called?
------------------------------
You are what you think.
Re:Data (Score:1)