In IO::Special§
See primary documentation in context for method r
method r(IO::Special: --> Bool)
The 'read access' file test operator, returns True
if and only if this instance represents the standard input handle(<STDIN>
).
In IO::Path§
See primary documentation in context for method r
method r(IO::Path: --> Bool)
Returns True
if the invocant is a path that exists and is accessible. The method will fail
with X::IO::DoesNotExist
if the path points to a non-existent filesystem entity.