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');
In reply to Re: "has" statement
by moritz
in thread "has" statement
by tritt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |