Created
September 1, 2016 17:05
-
-
Save gfldex/6c6b1fc11ee6906627717d91e90702c3 to your computer and use it in GitHub Desktop.
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
use v6; | |
subset File of Str where { | |
# die "dangling symlink for «{.Str}»" when .IO.l && ! .IO.e; | |
die "directory provided where file expected for «{.IO.abspath}»" when .IO.d; | |
True when .IO.f; | |
} | |
sub MAIN(*@a where .all ~~ File){ | |
dd @a; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment