Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Object::Tiny::Lvalue(3User Contributed Perl DocumentatiObject::Tiny::Lvalue(3)

NAME
       Object::Tiny::Lvalue - minimal class builder with lvalue	accessors

VERSION
       version 1.082

SYNOPSIS
       Define a	class:

	 package Foo;
	 use Object::Tiny::Lvalue qw( bar baz );
	 1;

       Use the class:

	 my $object = Foo->new(	bar => 1 );
	 printf	"bar is	%s\n", $object->bar;
	 $object->bar =	2;
	 printf	"bar is	now %s\n", $object->bar;

DESCRIPTION
       This is a clone of Object::Tiny,	but adjusted to	create accessors that
       return lvalues.

AUTHOR
       Aristotle Pagaltzis <pagaltzis@gmx.de>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2015 by Aristotle	Pagaltzis.

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

perl v5.24.1			  2015-01-10	       Object::Tiny::Lvalue(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Object::Tiny::Lvalue&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help