How do I create a symbolic link using Perl 6?
Of course, as mentioned in another question, I can use actual shell commands using shell
or run
:
shell('ln -s REALLY_LONG_FASTQ_NAME.fastq short.fq');
run('ln', '-s', 'REALLY_LONG_FASTQ_NAME.fastq', 'short.fq');
But, I'd prefer to be able to create them more directly with a function.
UPDATED
See also the official documentation on symlink.