Raku Land

SelectiveImporting

zef:wukgdu

NAME

SelectiveImporting - Selective importing, and making aliases from modules

SYNOPSIS

Installation: zef install SelectiveImporting

use SelectiveImporting;

use JSON::Fast :select<&to-json &from-json>; # or just `use JSON::Fast`
use JSON::Tiny :select('&to-json' => '&to-json-tiny', '&from-json' => '&from-json-tiny');

# say &to-json.package;        # (Fast)
# say &from-json.package;      # (Fast)
# say &to-json-tiny.package;   # (Tiny)
# say &from-json-tiny.package; # (Tiny)

DESCRIPTION

Aims:

Behavior after use SelectiveImporting:

How to import via :select:

Use cases:

Skip something when import via :except:

How to use other words instead of select:

Examples:

Note:

Ref:

Similar module

AUTHOR

wukgdu wukgdu365@yahoo.com

https://github.com/wukgdu

COPYRIGHT AND LICENSE

Copyright 2022 wukgdu

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.