In IO::Path§
See primary documentation in context for method x
method x(IO::Path: --> Bool)
Returns True
if the invocant is a path that exists and is executable. The method will fail
with X::IO::DoesNotExist
if the path points to a non-existent filesystem entity.
NOTE: If the file is a script (an executable text file and not a native executable), and the file has only executable permissions and no read permissions, this method will return True
but trying to execute will fail. That is a limitation of the operating system.
In IO::Special§
See primary documentation in context for method x
method x(IO::Special: --> False)
The 'execute access' file test operator, always returns False
.
In Operators§
See primary documentation in context for infix x
sub infix:<x>(, --> Str)
Repeats the string $a
$b
times, if necessary coercing $a
to Str
and $b
to Int
. Returns an empty string if $b <= 0
. An exception X::Numeric::CannotConvert
will be thrown if $b
is -Inf
or NaN
.
say 'ab' x 3; # OUTPUT: «ababab»say 42 x 3; # OUTPUT: «424242»my = 'a'.IO;my = 3.5;say x ; # OUTPUT: «aaa»