The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Populous - Populate anything like a god

VERSION

version 0.001

SYNOPSIS

my $p = Populous->new(
  classes => [
    user => sub { 'User '.(shift).' called '.(shift) }, {
      does => sub { (shift).' does '.(shift) },
    },
    other => sub { 'Other '.(shift) },
  ],
);

$p->new_user(
  a => "Abraham",
  b => "Betleham",
);

print $p->user( a => does => 'stuff');
# 'User a called Abraham does stuff'
$p->user("b")->does('otherstuff');
# 'User b called Betleham does otherstuff'

SUPPORT

IRC

Join #perl-help on irc.perl.org. Highlight Getty for fast reaction :).

Repository

http://github.com/Getty/p5-populous
Pull request and additional contributors are welcome

Issue Tracker

http://github.com/Getty/p5-populous/issues

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Torsten Raudssus.

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