# New Ticket Created by Timothy Totten # Please include the string: [perl #76898] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76898 >
Currently there is no 'require' statement in Rakudo. It should support two formats, the first one being: require Module::Name; will act like 'use Module::Name', but at runtime. This can be simulated by using: eval("use Module::Name"); The other format is for loading arbitrary files: require "/path/to/file.pm"; Which can be (roughly) simulated with: eval(slurp("/path/to/file.pm")); Synopsis 11 also mentions an importation syntax compatible with use.