# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #127839] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127839 >
<masak> ok, camelia isn't enough to confirm this, so if I could ask someone to double-check my (now-golfed) bug: <masak> the program `use DBIish; DBIish.connect("Pg")` gives the error `No such method 'trans' for invocant of type 'Any'` (which is correct as far as that goes) <masak> but `use DBIish; use lib "lib"; DBIish.connect("Pg")` gives `===SORRY!=== Could not locate compile-time value for symbol DBError` <masak> I have DBIish installed very normally, via panda <ZoffixW> masak, yup: http://fpaste.scsys.co.uk/509608 (the paste is just a reproduction of the above problem, but for completeness it follows below) $ perl6 -e 'use DBIish; DBIish.connect("Pg")' No such method 'trans' for invocant of type 'Any' in block at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/F51B76EA668B2C3E5C8704F71C1F2DD75D6CCF4B (DBIish) line 46 in any at /home/zoffix/.perl6/precomp/CCCEB6AE282B8A3EB6E4E1D3C99524D2AACC3242.1459176575.85605/F5/F51B76EA668B2C3E5C8704F71C1F2DD75D6CCF4B line 1 in sub quote-and-escape at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/6772E9809937053232EECE83E0797621A638FF7F (DBDish::Pg) line 60 in block at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/6772E9809937053232EECE83E0797621A638FF7F (DBDish::Pg) line 71 in method connect at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/6772E9809937053232EECE83E0797621A638FF7F (DBDish::Pg) line 68 in method connect at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/F51B76EA668B2C3E5C8704F71C1F2DD75D6CCF4B (DBIish) line 50 in block <unit> at -e line 1 $ perl6 -e 'use DBIish; use lib "lib"; DBIish.connect("Pg")' ===SORRY!=== Could not locate compile-time value for symbol DBError <masak> ZoffixW++ * masak submits rakudobug <masak> this also immediately suggests a temporary workaround: I just need to inline my module from lib/ :/ <jnthn> masak: Does putting the "use lib" *first* help? <jnthn> masak: Note you probably should anyway, 'cus putting "use lib" *after* modules have been loaded forces pre-comp to be disabled, iirc <masak> jnthn: yes, putting `use lib` before `use DBIish` makes the bug go away <masak> perhaps the bug is even related to precompilation being forced off? <jnthn> Perhaps, dunno