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

VANAMBURG::FaceValue

Represents the face value of a card. See also VANAMBURG::Suit.

name

The name of the face value is an full name suchas "Jack", "Ace", etc.

value

The value of the card is a number 1 through 13, where Ace is 1, Two is 2, King is 13, etc.

abbreviation

A single character text abbreviation for the face value. Ace is "A", two is "2", Jack is "J", etc.

equals

Returns true (1) when the name and value of this object is the same as that passed to the method, otherwise returns false (0).