At present this isn't possible, the best we can offer is
"/path/to/parrot/parrot /path/to/parrot/languages/perl6/perl6.pbc hello.pl",
which is a pain. So, we need a way to package this up into a simple
shell script, executable, or other item that can be placed in a
PATH and executed directly.
If I understand correctly, you want the parrot executable and the
perl6.pbc file to be somewhere on the PATH, and not coded into the shim
or otherwise configured at install time. And putting parrot on the PATH
is not enough because it doesn't know to search for the .pbc file.
In the 4NT command shell under Windows, try this:
set .pl=perl6
alias perl6=parrot `"[EMAIL PROTECTED]"`
The second line permits the use:
prompt> parrot hello.pl
And the first further gives
prompt> hello.pl
or
prompt> hello
Note that this will perform the SEARCH every time it is invoked. If you
won't be changing the PATH around on the fly to point to different
versions of the files (as I would expect for users who are not
developers of perl6) drop the backquotes and it will perform the SEARCH
when the alias is established.
--John