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.2202
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

AUTHOR

66       Shlomi Fish <shlomif@cpan.org>
67
69       This software is Copyright (c) 2014 by Shlomi Fish.
70
71       This is free software, licensed under:
72
73         The MIT (X11) License
74

BUGS

76       Please report any bugs or feature requests on the bugtracker website
77       <https://github.com/shlomif/fc-solve/issues>
78
79       When submitting a bug or request, please include a test-file or a patch
80       to an existing test-file that illustrates the bug or desired feature.
81

SUPPORT

83   Perldoc
84       You can find documentation for this module with the perldoc command.
85
86         perldoc Games::Solitaire::Verify::Column
87
88   Websites
89       The following websites have more information about this module, and may
90       be of help to you. As always, in addition to those websites please use
91       your favorite search engine to discover more resources.
92
93       ·   MetaCPAN
94
95           A modern, open-source CPAN search engine, useful to view POD in
96           HTML format.
97
98           <https://metacpan.org/release/Games-Solitaire-Verify>
99
100       ·   Search CPAN
101
102           The default CPAN search engine, useful to view POD in HTML format.
103
104           <http://search.cpan.org/dist/Games-Solitaire-Verify>
105
106       ·   RT: CPAN's Bug Tracker
107
108           The RT ( Request Tracker ) website is the default bug/issue
109           tracking system for CPAN.
110
111           <https://rt.cpan.org/Public/Dist/Display.html?Name=Games-Solitaire-Verify>
112
113       ·   AnnoCPAN
114
115           The AnnoCPAN is a website that allows community annotations of Perl
116           module documentation.
117
118           <http://annocpan.org/dist/Games-Solitaire-Verify>
119
120       ·   CPAN Ratings
121
122           The CPAN Ratings is a website that allows community ratings and
123           reviews of Perl modules.
124
125           <http://cpanratings.perl.org/d/Games-Solitaire-Verify>
126
127       ·   CPANTS
128
129           The CPANTS is a website that analyzes the Kwalitee ( code metrics )
130           of a distribution.
131
132           <http://cpants.cpanauthors.org/dist/Games-Solitaire-Verify>
133
134       ·   CPAN Testers
135
136           The CPAN Testers is a network of smoke testers who run automated
137           tests on uploaded CPAN distributions.
138
139           <http://www.cpantesters.org/distro/G/Games-Solitaire-Verify>
140
141       ·   CPAN Testers Matrix
142
143           The CPAN Testers Matrix is a website that provides a visual
144           overview of the test results for a distribution on various
145           Perls/platforms.
146
147           <http://matrix.cpantesters.org/?dist=Games-Solitaire-Verify>
148
149       ·   CPAN Testers Dependencies
150
151           The CPAN Testers Dependencies is a website that shows a chart of
152           the test results of all dependencies for a distribution.
153
154           <http://deps.cpantesters.org/?module=Games::Solitaire::Verify>
155
156   Bugs / Feature Requests
157       Please report any bugs or feature requests by email to
158       "bug-games-solitaire-verify at rt.cpan.org", or through the web
159       interface at
160       <https://rt.cpan.org/Public/Bug/Report.html?Queue=Games-Solitaire-Verify>.
161       You will be automatically notified of any progress on the request by
162       the system.
163
164   Source Code
165       The code is open to the world, and available for you to hack on. Please
166       feel free to browse it and play with it, or whatever. If you want to
167       contribute patches, please send me a diff or prod me to pull from your
168       repository :)
169
170       <https://github.com/shlomif/fc-solve>
171
172         git clone git://github.com/shlomif/fc-solve.git
173
174
175
176perl v5.30.1                      2020-01-30Games::Solitaire::Verify::Column(3)
Impressum