Bread-Board

 view release on metacpan or  search on metacpan

lib/Bread/Board/Literal.pm  view on Meta::CPAN

      value => 42,
  );
  $c->add_service($literal);

=head1 DESCRIPTION

A literal service is one that stores a literal scalar or reference for use in
your Bread::Board.

Beware of using references in your literals as they may cause your Bread::Board
to leak memory. If this is a concern, you may want to weaken your references.

See L<Scalar::Util/weaken>.

=head1 ATTRIBUTES

=head2 C<value>

Required attribute with read/write accessor. This is the value that
L</get> will return.

=head1 METHODS



( run in 0.239 second using v1.01-cache-2.11-cpan-65fba6d93b7 )