NAME

Class::Builtin::Scalar - Scalar as an object

VERSION

$Id: Scalar.pm,v 0.2 2009/06/21 15:44:41 dankogai Exp dankogai $

SYNOPSIS

use Class::Builtin::Scalar;                    # use Class::Builtin::Builtin;
my $foo = Class::Builtin::Scalar->new('perl'); # OO('perl');
print $foo->length; # 4

EXPORT

None. But see Class::Builtin

METHODS

This section is under construction. For the time being, try

print Class::Builtin::Scalar->new(0)->methods->join("\n")

TODO

This section itself is to do :)

  • what should $s->m(qr/.../) return ? SCALAR ? ARRAY ?

  • more methods

SEE ALSO

Class::Builtin, Class::Builtin::Array, Class::Builtin::Hash

AUTHOR

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

ACKNOWLEDGEMENTS

autobox, overload

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.