The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Acme::Marvel::CinematicUniverse::Character - a character from the MCU

DESCRIPTION

A lightweight object representing a character.

Attributes

real_name

The real life name of the character.

hero_name

The name they go by as a hero.

intelligence, strength, speed, durability, energy_projection, fighting_ability

Values from 1 (lowest) to 7 (highest) from the Marvel power grid.

Methods

power

Returns the sum of the character's six values from the power grid.

Overloading

  • Stringy

    The real name of the character.

  • Numeric

    The power of the character.

  • Boolean

    Always returns true.

BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Acme-Marvel-CinematicUniverse-Characters.

SEE ALSO

Acme::Marvel::CinematicUniverse::Characters, WWW::Marvel.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2020 by Toby Inkster.

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

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.