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

VERSION

28       version 0.1900
29

METHODS

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

AUTHOR

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

BUGS

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

SUPPORT

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