# New Ticket Created by Zoffix Znet
# Please include the string: [perl #127188]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=127188 >
Seeing that value of 'Perl5' for the :lang argument to EVAL attempts to load
Inline::Perl5, I'm curious whether we could possibly make it attempt to work
for ANY language by loading the appropriate Inline:: module. In other words,
:lang<Lua> would attempt to load Inline::Lua and :lang<Ruby> would attempt to
load Inline::Ruby, both of which exist in our ecosystem.
$ perl6 -e 'EVAL "test", :lang<Perl5>;'
Could not find Inline::Perl5 in:
/home/zoffix/.perl6/2015.12-101-g75c6b9e
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/vendor
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6
CompUnit::Repository::AbsolutePath<-1229522756>
CompUnit::Repository::NQP<-1229524784>
CompUnit::Repository::Perl5<-1229526668>
in block <unit> at -e line 1
Could not find Inline::Perl5 in:
/home/zoffix/.perl6/2015.12-101-g75c6b9e
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/vendor
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6
CompUnit::Repository::AbsolutePath<-1229522756>
CompUnit::Repository::NQP<-1229524784>
CompUnit::Repository::Perl5<-1229526668>
in block <unit> at -e line 1
Actually thrown at:
in block <unit> at -e line 1
$ perl6 -e 'EVAL "test", :lang<Lua>;'
No compiler available for language 'Lua'
in any at
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm
line 1
in block <unit> at -e line 1
$ perl6 -e 'EVAL "test", :lang<Ruby>;'
No compiler available for language 'Ruby'
in any at
/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm
line 1
in block <unit> at -e line 1
$