Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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: (8)
As of 2015-07-07 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls