-FUNCTIONS
- "import [ as => [ $prefix | $mangler ] ]"
- Magically called when writing "use Lexical::Types". All the occurences
- of "my Str $x" in the current lexical scope will be changed to call at
- each run a given method in a given package. The method and package are
- determined by the parameter 'as' :
+METHODS
+ "import"
+ use Lexical::Types;
+ use Lexical::Types as => $prefix;
+ use Lexical::Types as => sub { ... }; # = $mangler
+
+ Magically called when "use Lexical::Types" is encountered. All the
+ occurences of "my Str $x" in the current lexical scope will be changed
+ to call at each run a given method in a given package. The method and
+ package are determined by the parameter 'as' :