README
NAME
IO::Stem - Provides the part of an IO.basename left with the IO.extension removed
SYNOPSIS
use IO::Stem;
say "finance.data".IO.stem; # OUTPUT: Ā«financeā¤Ā»
# aliases for method 'stem':
say "finance.data".IO.barename; # OUTPUT: Ā«financeā¤Ā»
say "finance.data".IO.name; # OUTPUT: Ā«financeā¤Ā»
say "finance.data".IO.filename; # OUTPUT: Ā«financeā¤Ā»
DESCRIPTION
Class IO::Stem is an extension of core class IO::Path
which currently has no method to provide that part of a basename remaining after its extension is removed. Its methods are intended to be candidates for inclusion in the next major release of Raku. Each method name has been found to be used for the same purpose in several well-known domains including make
, LaTeX
, and shell
.
AUTHOR
Tom Browder [email protected]
COPYRIGHT AND LICENSE
Copyright 2022 Tom Browder
This library is free software; you may redistribute it or modify it under the Artistic License 2.0.