1Games::Solitaire::VerifUys:e:rCoClounmtnr(i3b)uted PerlGDaomceusm:e:nStoaltiitoanire::Verify::Column(3)
2
3
4

NAME

6       Games::Solitaire::Verify::Column - a class wrapper for Solitaire
7       columns that are composed of a sequence of cards.
8

VERSION

10       version 0.2403
11

SYNOPSIS

13           use Games::Solitaire::Verify::Column;
14
15           # Initialise a column
16           my $column = Games::Solitaire::Verify::Column->new(
17               {
18                   string => ": KH QS 5C",
19               },
20           );
21
22           # Prints 3
23           print $column->len();
24
25           my $queen_card = $column->pos(1);
26

METHODS

28   $column->len()
29       Returns an integer representing the number of cards in the column.
30
31   $column->pos($idx)
32       Returns the card (a Games::Solitaire::Verify::Card object) at position
33       $idx in Column. $idx starts at 0.
34
35   $column->top()
36       Returns the top card.
37
38   $column->clone()
39       Returns a clone of the column.
40
41   $base_column->append_cards(\@cards)
42       Appends the cards in the argument array reference to the column.
43
44       ( Added in version 0.17 .)
45
46   $base_column->append($column_with_more_cards)
47       Appends the column $column_with_more_cards to $base_column . NOTE:
48       append_cards() is faster.
49
50   $column->push($card)
51       Appends a single card to the top of the column.
52
53   my $card_at_top = $column->pop()
54       Pops a card from the top of the column and returns it.
55
56   my [@cards] = $column->popN($num_cards)
57       Pops $num_cards cards from the top of the column and returns them (as
58       an array reference) in their original order in the column.
59
60       ( Added in version 0.17 .)
61
62   $column->to_string()
63       Converts to a string.
64

SUPPORT

66   Websites
67       The following websites have more information about this module, and may
68       be of help to you. As always, in addition to those websites please use
69       your favorite search engine to discover more resources.
70
71       ·   MetaCPAN
72
73           A modern, open-source CPAN search engine, useful to view POD in
74           HTML format.
75
76           <https://metacpan.org/release/Games-Solitaire-Verify>
77
78       ·   RT: CPAN's Bug Tracker
79
80           The RT ( Request Tracker ) website is the default bug/issue
81           tracking system for CPAN.
82
83           <https://rt.cpan.org/Public/Dist/Display.html?Name=Games-Solitaire-Verify>
84
85       ·   CPANTS
86
87           The CPANTS is a website that analyzes the Kwalitee ( code metrics )
88           of a distribution.
89
90           <http://cpants.cpanauthors.org/dist/Games-Solitaire-Verify>
91
92       ·   CPAN Testers
93
94           The CPAN Testers is a network of smoke testers who run automated
95           tests on uploaded CPAN distributions.
96
97           <http://www.cpantesters.org/distro/G/Games-Solitaire-Verify>
98
99       ·   CPAN Testers Matrix
100
101           The CPAN Testers Matrix is a website that provides a visual
102           overview of the test results for a distribution on various
103           Perls/platforms.
104
105           <http://matrix.cpantesters.org/?dist=Games-Solitaire-Verify>
106
107       ·   CPAN Testers Dependencies
108
109           The CPAN Testers Dependencies is a website that shows a chart of
110           the test results of all dependencies for a distribution.
111
112           <http://deps.cpantesters.org/?module=Games::Solitaire::Verify>
113
114   Bugs / Feature Requests
115       Please report any bugs or feature requests by email to
116       "bug-games-solitaire-verify at rt.cpan.org", or through the web
117       interface at
118       <https://rt.cpan.org/Public/Bug/Report.html?Queue=Games-Solitaire-Verify>.
119       You will be automatically notified of any progress on the request by
120       the system.
121
122   Source Code
123       The code is open to the world, and available for you to hack on. Please
124       feel free to browse it and play with it, or whatever. If you want to
125       contribute patches, please send me a diff or prod me to pull from your
126       repository :)
127
128       <https://github.com/shlomif/fc-solve>
129
130         git clone git://github.com/shlomif/fc-solve.git
131

AUTHOR

133       Shlomi Fish <shlomif@cpan.org>
134

BUGS

136       Please report any bugs or feature requests on the bugtracker website
137       <https://github.com/shlomif/fc-solve/issues>
138
139       When submitting a bug or request, please include a test-file or a patch
140       to an existing test-file that illustrates the bug or desired feature.
141
143       This software is Copyright (c) 2008 by Shlomi Fish.
144
145       This is free software, licensed under:
146
147         The MIT (X11) License
148
149
150
151perl v5.32.0                      2020-07-28Games::Solitaire::Verify::Column(3)
Impressum