Help with syntax ... Object::InsideOut

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I am trying to grasp the "design pattern" of Object::InsideOut and was
reading this:

Looking at the code-examples, I see things like

   my @data


   sub init :Init


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!


Site Timeline