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

..03-May-2022-

lib/Object/H29-Oct-2018-687198

t/H29-Oct-2018-1,012811

.gitignoreH A D29-Oct-2018134 1312

ARTISTICH A D29-Oct-20186 KiB13299

CHANGESH A D29-Oct-20181.8 KiB4538

GPLH A D29-Oct-201834.3 KiB675553

MANIFESTH A D29-Oct-2018351 2726

MANIFEST.SKIPH A D29-Oct-2018261 2423

META.jsonH A D29-Oct-20181.3 KiB5554

META.ymlH A D29-Oct-2018766 3635

Makefile.PLH A D29-Oct-2018643 2524

READMEH A D29-Oct-20182.6 KiB8959

TODOH A D29-Oct-20181,004 2820

README

1NAME
2
3Object::Import - a perl module that lets you import methods of a perl
4object or class to a package as plain functions.
5
6USAGE
7
8    use Object::Import $object;
9    foo(@bar); # now means $object->foo(@bar);
10
11
12See the pod documentation in the Object::Import module for more details
13on how to use this module.
14
15DEPENDENCIES
16
17Perl version 5.8 or later is required to use this module.
18If you have perl version 5.10.0 or later, you shouldn't need any more prerequisites to use this module.
19Otherwise, you may need to install the following modules.
20
21    mro OR MRO::Compat
22    Scalar::Util
23    Test::More *
24    File::Temp *
25    Math::BigInt *
26
27(The modules marked with a star are needed only for testing.)
28
29This is a pure perl module, so you won't need a C compiler to build it.
30
31INSTALLING
32
33First, you should get the latest release of the module from CPAN,
34under the distribution name Object-Import.
35
36After that, you can install the module like any other perl module that
37uses ExtUtils::MakeMaker.  For example, use these commands.
38
39   tar xzf Object-Import-1.VVV.tar.gz
40   cd Object-Import-1.VVV
41   perl Makefile.PL
42   make
43   make test
44   make install
45
46Where 1.VVV is the version number of the module you've got.
47
48If you're not familiar with the procedure of installing a perl module,
49you may want to read
50"http://search.cpan.org/~rjbs/perl-5.16.1/pod/perlmodinstall.pod"
51
52SEE ALSO
53
54Class::Exporter, Scope::With, Sub::Exporter, Acme::Nooo
55
56BUGS
57
58Please report bugs using the CPAN bug tracker (under the distribution
59name Object-Import), or, failing that, to C<ambrus@math.bme.hu>.
60
61CREDITS
62
63The primary author and maintainer of this module is Zsban Ambrus
64C<ambrus@math.bme.hu>.  Some of the code was written by Max Maischein, who
65also gave the motivation to turn a prototype to the full module you see.
66Thanks to exussum0 for the original inspiration.
67
68COPYING
69
70Copyright (C) Zsban Ambrus 2010
71
72This program is free software: you can redistribute it and/or modify
73it under the terms of either the GNU General Public License version 3,
74as published by the Free Software Foundation; or the "Artistic License"
75which comes with perl.
76
77This program is distributed in the hope that it will be useful,
78but WITHOUT ANY WARRANTY; without even the implied warranty of
79MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
80GNU General Public License for more details.
81
82A copy of the GNU General Public License can be found in the
83source tree of this module under the name "GPL", or else see
84"http://www.gnu.org/licenses/".  A copy of the Artistic License can
85be found in the source tree under the name "ARTISTIC", or else see
86"http://search.cpan.org/~rjbs/perl-5.16.1/pod/perlartistic.pod".
87
88
89