-
-
Save lucs/a6e2b728fb5a930f0164bf52a2654201 to your computer and use it in GitHub Desktop.
A symlink to a regular file shouldn't itself be considered to be a regular file, should it?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env raku | |
my $orig = '/tmp/baz'; | |
my $link = '/tmp/baz.link'; | |
$orig.IO.spurt: "baz"; | |
symlink $orig, $link; | |
# Both True, was expecting .f to be False. | |
note $link.IO.l; | |
note $link.IO.f; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment