README
1NAME
2 Variable::Eject - Eject variables from hash to current namespace
3
4VERSION
5 Version 0.03
6
7SYNOPSIS
8 use Variable::Eject;
9
10 my $hash = {
11 scalar => 'scalar value',
12 array => [1..3],
13 hash => { my => 'value' },
14 };
15
16 # Now, eject vars from hash
17 eject(
18 $hash => $scalar, @array, %hash,
19 );
20
21 # Let's look
22 say $scalar;
23 say @array;
24 say keys %hash;
25
26 # Let's modify (source will be modified)
27 $scalar .= ' modified';
28 shift @array;
29 $hash{another} = 1;
30
31EXPORT
32 A list of functions that can be exported. You can delete this section if
33 you don't export anything, such as for a purely object-oriented module.
34
35FUNCTIONS
36 eject ( $source_hash => $scalar, @array, %hash ... );
37AUTHOR
38 Mons Anderson, "<mons at cpan.org>"
39
40BUGS
41 Please report any bugs or feature requests to "bug-variable-eject at
42 rt.cpan.org", or through the web interface at
43 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Variable-Eject>. I will
44 be notified, and then you'll automatically be notified of progress on
45 your bug as I make changes.
46
47COPYRIGHT & LICENSE
48 Copyright 2009-2020 Mons Anderson, all rights reserved.
49
50 This program is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
53