Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-12-01 00:07 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls