NAME

Evo::Class::Out

VERSION

version 0.0226

SYNOPSYS

package main;
use Evo;

{

  package My::Out;
  use Evo -Class::Out;

  sub new ($class, %opts) {
    init($class, [], %opts);
  }

  has 'foo';
}

my $obj = My::Out->new(foo => 33);
say $obj;         # ...ARRAY...
say $obj->foo;    # 33

DESCRIPTION

Like Evo::Class, but uses outside storage. So any reference can became a class instance Instead of new, it provides init. You can define new by yourself

AUTHOR

alexbyk.com

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by alexbyk.

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