• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ex/H27-Jul-2020-3121

lib/Variable/H27-Jul-2020-227131

t/H27-Jul-2020-218148

.gitignoreH A D27-Jul-2020106 1211

ChangesH A D27-Jul-2020438 1711

LICENSEH A D27-Jul-2020170 74

MANIFESTH A D27-Jul-2020354 2221

MANIFEST.SKIPH A D27-Jul-2020506 3428

META.jsonH A D27-Jul-20201.1 KiB4847

META.ymlH A D27-Jul-2020625 2928

Makefile.PLH A D27-Jul-2020529 2220

READMEH A D27-Jul-20201.3 KiB5340

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