NAME

BERT::Atom - Atom data type for BERT

SYNOPSIS

use BERT;
my $atom = BERT::Atom->new('foo');
my $string = $atom->value;

DESCRIPTION

This module is intended to be used with BERT to specify an atom value. It is overloaded to act almost exactly like a string.

See the BERT specification at http://bert-rpc.org/.

METHODS

$atom = BERT::Atom->new($string)

Creates a new BERT::Atom object initialized with $string as its atom value.

$string = $atom->value

Returns all of the arguments that were passed to new() as-is.

AUTHOR

Sherwin Daganato <sherwin@daganato.com>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

BERT