Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!env raku
- use DBIish;
- use Attribute::Lazy;
- class T {
- has $.dbh = DBIish.connect('SQLite', :database<thefile>);
- has $.sth will lazy {
- $!dbh.prepare("SELECT 1");
- };
- }
- T.new.sth.execute;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement