NAME

Class::Builtin - Scalar/Array/Hash as objects

VERSION

$Id: Builtin.pm,v 0.5 2011/05/21 21:40:47 dankogai Exp $

SYNOPSIS

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'

EXPORT

OO

FUNCTIONS

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");

AUTHOR

Dan Kogai, <dankogai at dan.co.jp>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Class::Builtin

You can also look for information at:

ACKNOWLEDGEMENTS

autobox, overload, perlfunc http://www.ruby-lang.org/

COPYRIGHT & LICENSE

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.