routine before
Documentation for routine before
assembled from the following types:
language documentation Operators
From Operators
(Operators) infix before
multi sub infix:<before>(Any, Any)multi sub infix:<before>(Real, Real)multi sub infix:<before>(Str, Str)multi sub infix:<before>(Version, Version)
Generic ordering, uses the same semantics as cmp. Returns True
if the first argument is smaller than the second.
class StrDistance
From StrDistance
(StrDistance) method before
This is actually a class attribute, and called as a method returns the string before the transformation:
say .before; # OUTPUT: «fold»