from
NAME
from - load a module and import selected items from it
SYNOPSIS
use from <Test &plan &ok>; # only import "plan" and "ok"
plan 1;
ok "foo", "bar"; # ok 1 - bar
DESCRIPTION
from is a helper module that allows you to load any given module and only import selected items from whatever that module imports. This can be helpful when there is a conflict between different modules exporting something with the same name (such as skip
in the Raku core, and the skip
subroutine provided by Test
.
AUTHOR
Elizabeth Mattijsen [email protected]
Source can be located at: https://github.com/lizmat/from . Comments and Pull Requests are welcome.
If you like this module, or what Iām doing more generally, committing to a small sponsorship would mean a great deal to me!
COPYRIGHT AND LICENSE
Copyright 2022 Elizabeth Mattijsen
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.