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

VANAMBURG::SuitSingleton

Provides singelton instances of VANAMBURG::Suit objects for efficient use creating cards.

spade

Instance of VANAMBURG::Suit representing the Spades suit. name => "Spades", unicode_char => "\x{2660}", abbreviation => 'S'

heart

Instance of VANAMBURG::Suit representing the Hearts suit. name => "Hearts", unicode_char => "\x{2661}", abbreviation => 'H'

club

Instance of VANAMBURG::Suit representing the Clubs suit. name => "Clubs", unicode_char => "\x{2663}", abbreviation => 'C'

diamond

Instance of VANAMBURG::Suit representing the Diamonds suit. name => "Diamonds", unicode_char => "\x{2662}", abbreviation => 'D'

suit_by_abbreviation

Given a suit abbreviation ("H","S", etc.) this method returns the appropriate singleton for the suit.