# New Ticket Created by Zoffix Znet
# Please include the string: [perl #128781]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128781 >
If you accidentally put "use" twice with a module that has double colons in the
name, the error is LTA as says nothing of the actual reason for failure and
also lacks any references such as file names or lines.
<Zoffix> m: use use Foo::Bar
<camelia> rakudo-moar 15ee3c: OUTPUT«===SORRY!===Could not find symbol '&Bar'»
It happens regardless of whether the actual module exists or not:
$ tree
.
└── Foo
└── Bar
└── Ber.pm6
2 directories, 1 file
$ cat Foo/Bar/Ber.pm6
unit class Foo::Bar::Ber;
$ perl6 -I. -e 'use use Foo::Bar::Ber'
===SORRY!===
Could not find symbol '&Ber'
--
Cheers,
ZZ | https://twitter.com/zoffix