Documentation for method
parts assembled from the following types:
IO::Path::Parts for the invocant.
say IO::Path::Win32.new("C:/rakudo/raku.bat").parts.raku;# OUTPUT: «IO::Path::Parts.new("C:","/rakudo","raku.bat")␤»
Note: Before Rakudo version 2020.06 a
Map was returned, with the keys
basename whose values were the respective invocant parts.
method parts(Version: --> List)
Returns the list of parts that make up this
my = v1.0.1;my = v1.0.1+;say .parts; # OUTPUT: «(1 0 1)␤»say .parts; # OUTPUT: «(1 0 1)␤»
+ suffix is not considered a part of the
Version object, and thus not returned by this method, as shown above in the