Perl 6 is not installed by default on most systems and does not have a default install directory, so the path will vary by system.
File: echo.p6
#!/path/to/perl6 put @*ARGS;
Usage:
./echo.p6 Hello, world!
Hello, world!