Peter L. Berghold > RPG-Traveller-Person-0.500 > RPG::Traveller::Person::Constants

Download:
RPG-Traveller-Person-0.500.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.050   Source   Latest Release: RPG-Traveller-Person-1.020

NAME ^

RPG::Traveller::Person::Constants - this module defines a host of constants used for character generation

VERSION ^

version 0.500

METHODS ^

int2skill

returns a string based on the value of the integer passed to it.

        int2skill(PILOT); # returns "Pilot"

int2career

returns a string based on the value of the integer passwd to it

        int2career(MARINE);  # returns "Marine"

int2alpha

returns 0-9 or A-Z with no gaps for I or O depending on the integer passed to it

    int2alpha(15); # returns "F"
    int2alpha(35); # returns "Z"

int2galpha

same as int2alpha but leaves a gap for the letters I and O

SEE ALSO ^

*Moose *perl

AUTHOR ^

Peter L. Berghold <cpan@berghold.net>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Peter L. Berghold.

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

syntax highlighting: