Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
We don't bite newbies here... much
 
PerlMonks  

Re: "has" statement

by moritz (Cardinal)
on Jul 26, 2012 at 19:11 UTC ( #983914=note: print w/ replies, xml ) Need Help??


in reply to "has" statement

There are lot of OO modules that use has to introduce attributes (ie per-instance storage), for example Moose and the smaller cousins Moo and Mo, and also Mojo::Base.

And of course that's also the syntax for attributes in Perl 6, where you'd write it as

has $.schema = Schema.connect('dbi:SQLite:test.db');


Comment on Re: "has" statement
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983914]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls