Changeset 16957 for lang/perl/Data-Polymorph
- Timestamp:
- 08/01/08 22:27:03 (5 years ago)
- Location:
- lang/perl/Data-Polymorph/trunk
- Files:
-
- 1 added
- 2 modified
-
MANIFEST (modified) (1 diff)
-
MANIFEST.SKIP (added)
-
lib/Data/Polymorph.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Data-Polymorph/trunk/MANIFEST
r16020 r16957 1 1 Changes 2 inc/Module/AutoInstall.pm 3 inc/Module/Install.pm 4 inc/Module/Install/AutoInstall.pm 5 inc/Module/Install/Base.pm 6 inc/Module/Install/Can.pm 7 inc/Module/Install/Fetch.pm 8 inc/Module/Install/Include.pm 9 inc/Module/Install/Makefile.pm 10 inc/Module/Install/Metadata.pm 11 inc/Module/Install/Win32.pm 12 inc/Module/Install/WriteAll.pm 13 lib/Data/Polymorph.pm 14 Makefile.PL 2 15 MANIFEST 3 Makefile.PL 16 MANIFEST.SKIP 17 META.yml 4 18 README 5 lib/Data/Polymorph.pm6 19 t/00-load.t 7 t/ pod-coverage.t8 t/ pod.t20 t/10-normal.t 21 t/20-die.t -
lang/perl/Data-Polymorph/trunk/lib/Data/Polymorph.pm
r16901 r16957 70 70 $poly->apply($obj, foo => $bar ); # ... die 71 71 72 If this value is true , the object uses "UNIVERSAL-can"72 If this value is true and the object uses C<UNIVERSAL::can> 73 73 when the method is not defined. 74 74 … … 93 93 $poly = Data::Polymorph->new( runs_native => 1 ); 94 94 95 Constructs and returns a new objectof this class.95 Constructs and returns a new instance of this class. 96 96 97 97 =cut … … 181 181 Actually, I designed these types based on the man pages from 182 182 L<Moose::Util::TypeConstraints>. 183 Though they never relate with L<Moose>-types. 184 Because L<Moose> types are designed for constraint. But they are not. 185 183 Because these were not designed for constraint, they never relate with 184 L<Moose> types. 186 185 187 186 =item C<is_type> … … 246 245 } ); 247 246 248 Defines an external method of the given class which is applyable249 by th is objectof this class.247 Defines an external method for a given class which can be appliabled 248 by the instance of this class. 250 249 251 250 =item C<define>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)