Provides singelton instances of VANAMBURG::Suit objects for efficient use creating cards.
Instance of VANAMBURG::Suit representing the Spades suit. name => "Spades", unicode_char => "\x{2660}", abbreviation => 'S'
Instance of VANAMBURG::Suit representing the Hearts suit. name => "Hearts", unicode_char => "\x{2661}", abbreviation => 'H'
Instance of VANAMBURG::Suit representing the Clubs suit. name => "Clubs", unicode_char => "\x{2663}", abbreviation => 'C'
Instance of VANAMBURG::Suit representing the Diamonds suit. name => "Diamonds", unicode_char => "\x{2662}", abbreviation => 'D'
Given a suit abbreviation ("H","S", etc.) this method returns the appropriate singleton for the suit.
To install VANAMBURG::Magic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VANAMBURG::Magic
CPAN shell
perl -MCPAN -e shell install VANAMBURG::Magic
For more information on module installation, please visit the detailed CPAN module installation guide.