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


The following error thrown when referencing $?MODULE from module:

"Variable '$?MODULE' is notVariable '$?MODULE' is not declared"

Example:

module Foo { sub f is export { say $?MODULE } }; import Foo; f

Documented here:

https://docs.perl6.org/language/variables#Compile-time_variables

Tested on moar-2016 and HEAD.

Thanks,
Sam

Reply via email to