J
jps
Hi!
I am trying to grasp the "design pattern" of Object::InsideOut and was
reading this:
http://search.cpan.org/~jdhedden/Object-InsideOut-3.52/lib/Object/InsideOut.pod
Looking at the code-examples, I see things like
my @data
:Field
:Type(numeric)
:Accessor(data);
and
sub init :Init
etc.
What are these syntactic elements ":Field" and ":Init" ?
And what do they mean?
I cannot remember having seen those ":Xxxx" constructs before...
What do you call these elements, so I know what to google for?
Thanks for help!
/JP
I am trying to grasp the "design pattern" of Object::InsideOut and was
reading this:
http://search.cpan.org/~jdhedden/Object-InsideOut-3.52/lib/Object/InsideOut.pod
Looking at the code-examples, I see things like
my @data
:Field
:Type(numeric)
:Accessor(data);
and
sub init :Init
etc.
What are these syntactic elements ":Field" and ":Init" ?
And what do they mean?
I cannot remember having seen those ":Xxxx" constructs before...
What do you call these elements, so I know what to google for?
Thanks for help!
/JP