# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #114000]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114000 >
On Thu, Jul 05, 2012 at 05:34:43PM +0300, Gabor Szabo wrote:
> use v6;
> my $f = "a".IO;
> if $f ~~ :r {
> say 'file readable';
> }
> if $f ~~ :l {
> say 'symlink';
> }
>
> the readability and most other test fail and return some undef, but
> checking for :l (symlink) throws an exception if the thing does not exist
>
> stat failed: No such file or directory
> in method l at src/gen/CORE.setting:7042
> in method ACCEPTS at src/gen/CORE.setting:5958
> in block <anon> at t.pl:7
>
> Is that on purpose?
Looks like a bug to me; forwarding this message to [email protected]
to create a ticket for it.
Thanks!
Pm