Start REPL with definitions loaded from file

Viewed 225

Is there a way to start the Perl 6 REPL with definitions loaded from a file?

I.e. let's say I have this in test.p6:

sub abc() { say 123; }

I'd like to be able to start the perl6 REPL and load that file so that I can use abc interactively.

1 Answers
Related