-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
link and symlink not documented but... may be implemented? #98
Comments
There are quite a few of the IO Operators that aren't documented properly. But it definitely works, I think the arguments are a different way round than you think they are: [jonathan@coriolanus Audio-Libshout]$ perl6 -e 'link("ff", "gg")' [jonathan@coriolanus Audio-Libshout]$ rm gg [jonathan@coriolanus Audio-Libshout]$ perl6 -e 'link( "gg", "ff")' (That is link($target, $source) ...) It is implemented as $target.IO.link($source). |
Added as 5e2a992 |
On Fri, Jun 26, 2015 at 11:28:20PM -0700, Jonathan Stowe wrote:
Which is backwards, apparently, from the Perl 5 version. Important to dha David H. Adler - dha@panix.com - http://www.panix.com/~dha/ |
When I try to use the link() function, I get an error I didn't expect:
~/rakudostar/rakudo 18:52:05% ./perl6 -e 'link("testfile.p6", "tfile.p6");'
Failed to create link called 'tfile.p6' on target '/Users/dha/rakudostar/rakudo/testfile.p6': Failed to link file: no such file or directory
in any at ././CORE.setting.moarvm:1
in block at -e:1
I would have expected it to tell me it didn't recognize the function, as these aren't documented. Is it implemented? And if it is, it probably should be documented. Similarly for symlink().
Odd that it's not finding the file, though...
The text was updated successfully, but these errors were encountered: