Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to make an actual Perl6 repl without an error for file not found
DungeonMaster00

How to make an actual Perl6 repl without an error for file not found

If you're having trouble making a perl6 repl,click here for a tutorial by @AmazingMech2418 (sorry I had to include your username in a project again.)

Once you made a repl in perl6, you may have noticed the error in the console. It will say something like:

Want to know how to get around that, well this tutorial's got ya covered.


The making and opening of main.raku

So first, make a file called main.raku.

That was easy! The repl should work once you added this:

But in order to make your code look better, type this in the perl6 repl:

Now you can have perl6 repls when you're really coding in Raku! It's the perfect crime...

...oh wait its not a crime oops.

Fun fact: Perl6 was renamed Raku.

Voters
theangryepicbanana
AmazingMech2418
DungeonMaster00
Comments
hotnewtop
AmazingMech2418

Nice! Though, it is technically recommended to use a Raku repl instead of a Perl6 repl. You can go to https://repl.it/languages/raku to create one.

DungeonMaster00

@AmazingMech2418 Thanks. However, the last time I checked, there was no examples in Raku there were only in perl6 repls.

theangryepicbanana

@nk1rwc Yeah I can fix the examples thing sometime next week hopefully (also +1 for being a Raku fan!)