Class::Builtin - Scalar/Array/Hash as objects
$Id: Builtin.pm,v 0.5 2011/05/21 21:40:47 dankogai Exp $
Quick summary of what the module does.
Perhaps a little code snippet.
use Class::Builtin; my $scalar = OO('perl'); my $array = OO([0..9]); my $hash = OO({key=>'value'}); print $scalar->length; # 4; print $array->length; # 10; print $hash->keys->[0] # 'key'
OO
See Class::Builtin::Scalar, Class::Builtin::Array, and Class::Builtin::Hash for details.
To check what methods the object has, simply try
print $o->methods->join("\n");
Dan Kogai, <dankogai at dan.co.jp>
<dankogai at dan.co.jp>
Please report any bugs or feature requests to bug-class-builtin at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-Builtin. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-class-builtin at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Class::Builtin
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Class-Builtin
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Class-Builtin
CPAN Ratings
http://cpanratings.perl.org/d/Class-Builtin
Search CPAN
http://search.cpan.org/dist/Class-Builtin/
autobox, overload, perlfunc http://www.ruby-lang.org/
Copyright 2009 Dan Kogai, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::Builtin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Builtin
CPAN shell
perl -MCPAN -e shell install Class::Builtin
For more information on module installation, please visit the detailed CPAN module installation guide.