# New Ticket Created by  Juerd Waalboer 
# Please include the string:  [perl #131540]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131540 >


It'd be nice if I didn't have to stringify this myself:

    use lib $*PROGRAM.resolve.sibling('lib');

Currently, this results in the following failure:

    Type check failed in binding to parameter '$spec'; expected Str but
    got IO::Path

A simple workaround for now is:

    use lib ~$*PROGRAM.resolve.sibling('lib');

I don't know if the right way involves supporting arguments of IO::Path
explicitly, or to just coerce them to Str.
-- 
Met vriendelijke groet, // Kind regards, // Korajn salutojn,

Juerd Waalboer  <ju...@tnx.nl>
TNX

Reply via email to