IO::Stem

Provides the part of an IO.basename left with the IO.extension removed

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.

IO::Stem v0.0.1

Provides the part of an IO.basename left with the IO.extension removed

Authors

  • Tom Browder

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • IO::Stem

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.