4 ms·
This is a _perfect_ case -- to get started, you can just put `shell` in front of every line #!/bin/bash echo hello change to #!/usr/bin/env perl6 she
by perlperson 7y ago
This is a _perfect_ case -- to get started, you can just put `shell` in front of every line
#!/bin/bash
echo hello
change to
#!/usr/bin/env perl6
shell "echo hello"
then for arguments, try making `foo.p6`
#!/usr/bin/env perl6
unit sub MAIN($name,:$times,:$language);
say $name, $time, $language
and run
./foo.p6 --help