Checking if your kit is complete... Looks good Writing Makefile for Games::Battleship cp lib/Games/Battleship/Grid.pm blib/lib/Games/Battleship/Grid.pm cp lib/Games/Battleship/Craft.pm blib/lib/Games/Battleship/Craft.pm cp lib/Games/Battleship/Player.pm blib/lib/Games/Battleship/Player.pm cp lib/Games/Battleship.pm blib/lib/Games/Battleship.pm Manifying blib/man3/Games::Battleship::Grid.3 Manifying blib/man3/Games::Battleship::Craft.3 Manifying blib/man3/Games::Battleship::Player.3 Manifying blib/man3/Games::Battleship.3 PERL_DL_NONLAZY=1 /home/cpanrun/pa-risc1.1/build/5.6.1/bin/perl -Iblib/arch -Iblib/lib -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t t/Games-Battleship....ok 1 - use Games::Battleship; ok 2 - with no arguments isa Games::Battleship ok 3 - with named players isa Games::Battleship ok 4 - gene by object isa Games::Battleship::Player ok 5 - aeryk by object isa Games::Battleship::Player ok 6 - stephi isa Games::Battleship::Player ok 7 - generated player id number ok 8 - stephi by number isa Games::Battleship::Player No such player 'bogus' ok 9 - stephi by key isa Games::Battleship::Player ok 10 - stephi by name isa Games::Battleship::Player ok 11 - bogus is not a player ok 12 - players ok 13 - by id isa Games::Battleship::Craft ok 14 - by name isa Games::Battleship::Craft ok 15 - craft hit ok 16 - gene's initial grid: # . . . . . . . . . . # . . . . . . . . . . # . . . . . . . . . . # . . . . . . . A . . # . . . . . . S A . . # D . . . . . S A . . # D B B B B . S A . . # . . . . . C . A . . # . . . . . C . . . . # . . . . . C . . . . gene missed aeryk at 0, 0. ok 17 - aeryk's initial grid: # . . . . . . . . . . # . . . . . . . . . . # . . D D . . . . . . # . . . . . . . C . . # . . . . . . . C S B # . . . . . . . C S B # . . . . . . . . S B # . . . . A A A A A B # . . . . . . . . . . # . . . . . . . . . . ok 18 - gene strikes aeryk at row=0, col=0 ok 19 - ..and it's a (0) miss. aeryk missed gene at 0, 1. ok 20 - aeryk strikes gene at row=0, col=1 gene missed aeryk at 0, 2. ok 21 - ..and it's a (0) miss. ok 22 - gene strikes aeryk at row=0, col=2 aeryk missed gene at 0, 3. ok 23 - ..and it's a (0) miss. gene missed aeryk at 0, 4. ok 24 - aeryk strikes gene at row=0, col=3 ok 25 - ..and it's a (0) miss. aeryk missed gene at 0, 5. ok 26 - gene strikes aeryk at row=0, col=4 ok 27 - ..and it's a (0) miss. gene missed aeryk at 0, 6. ok 28 - aeryk strikes gene at row=0, col=5 ok 29 - ..and it's a (0) miss. ok 30 - gene strikes aeryk at row=0, col=6 aeryk missed gene at 0, 7. ok 31 - ..and it's a (0) miss. ok 32 - aeryk strikes gene at row=0, col=7 gene missed aeryk at 0, 8. ok 33 - ..and it's a (0) miss. ok 34 - gene strikes aeryk at row=0, col=8 aeryk missed gene at 0, 9. ok 35 - ..and it's a (0) miss. ok 36 - aeryk strikes gene at row=0, col=9 gene missed aeryk at 1, 0. ok 37 - ..and it's a (0) miss. ok 38 - gene strikes aeryk at row=1, col=0 aeryk missed gene at 1, 1. ok 39 - ..and it's a (0) miss. gene missed aeryk at 1, 2. ok 40 - aeryk strikes gene at row=1, col=1 ok 41 - ..and it's a (0) miss. aeryk missed gene at 1, 3. ok 42 - gene strikes aeryk at row=1, col=2 ok 43 - ..and it's a (0) miss. gene missed aeryk at 1, 4. ok 44 - aeryk strikes gene at row=1, col=3 ok 45 - ..and it's a (0) miss. ok 46 - gene strikes aeryk at row=1, col=4 aeryk missed gene at 1, 5. ok 47 - ..and it's a (0) miss. ok 48 - aeryk strikes gene at row=1, col=5 gene missed aeryk at 1, 6. ok 49 - ..and it's a (0) miss. ok 50 - gene strikes aeryk at row=1, col=6 aeryk missed gene at 1, 7. ok 51 - ..and it's a (0) miss. ok 52 - aeryk strikes gene at row=1, col=7 gene missed aeryk at 1, 8. ok 53 - ..and it's a (0) miss. ok 54 - gene strikes aeryk at row=1, col=8 aeryk missed gene at 1, 9. ok 55 - ..and it's a (0) miss. gene missed aeryk at 2, 0. ok 56 - aeryk strikes gene at row=1, col=9 ok 57 - ..and it's a (0) miss. aeryk missed gene at 2, 1. ok 58 - gene strikes aeryk at row=2, col=0 ok 59 - ..and it's a (0) miss. ok 60 - aeryk strikes gene at row=2, col=1 ok 61 - ..and it's a (0) miss. gene hit aeryk's destroyer! ok 62 - gene strikes aeryk at row=2, col=2 aeryk missed gene at 2, 3. ok 63 - ..and it's a (1) hit! ok 64 - aeryk strikes gene at row=2, col=3 gene missed aeryk at 2, 4. ok 65 - ..and it's a (0) miss. ok 66 - gene strikes aeryk at row=2, col=4 aeryk missed gene at 2, 5. ok 67 - ..and it's a (0) miss. ok 68 - aeryk strikes gene at row=2, col=5 gene missed aeryk at 2, 6. ok 69 - ..and it's a (0) miss. aeryk missed gene at 2, 7. ok 70 - gene strikes aeryk at row=2, col=6 ok 71 - ..and it's a (0) miss. gene missed aeryk at 2, 8. ok 72 - aeryk strikes gene at row=2, col=7 ok 73 - ..and it's a (0) miss. aeryk missed gene at 2, 9. ok 74 - gene strikes aeryk at row=2, col=8 ok 75 - ..and it's a (0) miss. ok 76 - aeryk strikes gene at row=2, col=9 gene missed aeryk at 3, 0. ok 77 - ..and it's a (0) miss. ok 78 - gene strikes aeryk at row=3, col=0 ok 79 - ..and it's a (0) miss. aeryk missed gene at 3, 1. ok 80 - aeryk strikes gene at row=3, col=1 gene missed aeryk at 3, 2. ok 81 - ..and it's a (0) miss. ok 82 - gene strikes aeryk at row=3, col=2 aeryk missed gene at 3, 3. ok 83 - ..and it's a (0) miss. ok 84 - aeryk strikes gene at row=3, col=3 gene missed aeryk at 3, 4. ok 85 - ..and it's a (0) miss. aeryk missed gene at 3, 5. ok 86 - gene strikes aeryk at row=3, col=4 ok 87 - ..and it's a (0) miss. gene missed aeryk at 3, 6. ok 88 - aeryk strikes gene at row=3, col=5 ok 89 - ..and it's a (0) miss. aeryk hit gene's aircraft carrier! ok 90 - gene strikes aeryk at row=3, col=6 ok 91 - ..and it's a (0) miss. ok 92 - aeryk strikes gene at row=3, col=7 ok 93 - ..and it's a (1) hit! gene missed aeryk at 3, 8. ok 94 - gene strikes aeryk at row=3, col=8 aeryk missed gene at 3, 9. ok 95 - ..and it's a (0) miss. ok 96 - aeryk strikes gene at row=3, col=9 gene missed aeryk at 4, 0. ok 97 - ..and it's a (0) miss. ok 98 - gene strikes aeryk at row=4, col=0 aeryk missed gene at 4, 1. ok 99 - ..and it's a (0) miss. ok 100 - aeryk strikes gene at row=4, col=1 gene missed aeryk at 4, 2. ok 101 - ..and it's a (0) miss. aeryk missed gene at 4, 3. ok 102 - gene strikes aeryk at row=4, col=2 ok 103 - ..and it's a (0) miss. gene missed aeryk at 4, 4. ok 104 - aeryk strikes gene at row=4, col=3 ok 105 - ..and it's a (0) miss. aeryk missed gene at 4, 5. ok 106 - gene strikes aeryk at row=4, col=4 ok 107 - ..and it's a (0) miss. ok 108 - aeryk strikes gene at row=4, col=5 gene missed aeryk at 4, 6. ok 109 - ..and it's a (0) miss. ok 110 - gene strikes aeryk at row=4, col=6 ok 111 - ..and it's a (0) miss. aeryk hit gene's aircraft carrier! ok 112 - aeryk strikes gene at row=4, col=7 gene hit aeryk's submarine! ok 113 - ..and it's a (1) hit! ok 114 - gene strikes aeryk at row=4, col=8 aeryk missed gene at 4, 9. ok 115 - ..and it's a (1) hit! ok 116 - aeryk strikes gene at row=4, col=9 gene missed aeryk at 5, 0. ok 117 - ..and it's a (0) miss. ok 118 - gene strikes aeryk at row=5, col=0 aeryk missed gene at 5, 1. ok 119 - ..and it's a (0) miss. ok 120 - aeryk strikes gene at row=5, col=1 gene missed aeryk at 5, 2. ok 121 - ..and it's a (0) miss. aeryk missed gene at 5, 3. ok 122 - gene strikes aeryk at row=5, col=2 ok 123 - ..and it's a (0) miss. ok 124 - aeryk strikes gene at row=5, col=3 gene missed aeryk at 5, 4. ok 125 - ..and it's a (0) miss. aeryk missed gene at 5, 5. ok 126 - gene strikes aeryk at row=5, col=4 ok 127 - ..and it's a (0) miss. gene missed aeryk at 5, 6. ok 128 - aeryk strikes gene at row=5, col=5 ok 129 - ..and it's a (0) miss. ok 130 - gene strikes aeryk at row=5, col=6 aeryk hit gene's aircraft carrier! ok 131 - ..and it's a (0) miss. ok 132 - aeryk strikes gene at row=5, col=7 gene hit aeryk's submarine! ok 133 - ..and it's a (1) hit! ok 134 - gene strikes aeryk at row=5, col=8 aeryk missed gene at 5, 9. ok 135 - ..and it's a (1) hit! ok 136 - aeryk strikes gene at row=5, col=9 gene missed aeryk at 6, 0. ok 137 - ..and it's a (0) miss. ok 138 - gene strikes aeryk at row=6, col=0 aeryk hit gene's battleship! ok 139 - ..and it's a (0) miss. gene missed aeryk at 6, 2. ok 140 - aeryk strikes gene at row=6, col=1 ok 141 - ..and it's a (1) hit! aeryk hit gene's battleship! ok 142 - gene strikes aeryk at row=6, col=2 ok 143 - ..and it's a (0) miss. gene missed aeryk at 6, 4. ok 144 - aeryk strikes gene at row=6, col=3 ok 145 - ..and it's a (1) hit! ok 146 - gene strikes aeryk at row=6, col=4 aeryk missed gene at 6, 5. ok 147 - ..and it's a (0) miss. ok 148 - aeryk strikes gene at row=6, col=5 ok 149 - ..and it's a (0) miss. gene missed aeryk at 6, 6. ok 150 - gene strikes aeryk at row=6, col=6 aeryk hit gene's aircraft carrier! aeryk sunk gene's aircraft carrier! ok 151 - ..and it's a (0) miss. ok 152 - aeryk strikes gene at row=6, col=7 gene hit aeryk's submarine! gene sunk aeryk's submarine! ok 153 - ..and it's a (1) hit! ok 154 - gene strikes aeryk at row=6, col=8 aeryk missed gene at 6, 9. ok 155 - ..and it's a (1) hit! gene missed aeryk at 7, 0. ok 156 - aeryk strikes gene at row=6, col=9 ok 157 - ..and it's a (0) miss. aeryk missed gene at 7, 1. ok 158 - gene strikes aeryk at row=7, col=0 ok 159 - ..and it's a (0) miss. gene missed aeryk at 7, 2. ok 160 - aeryk strikes gene at row=7, col=1 ok 161 - ..and it's a (0) miss. ok 162 - gene strikes aeryk at row=7, col=2 aeryk missed gene at 7, 3. ok 163 - ..and it's a (0) miss. ok 164 - aeryk strikes gene at row=7, col=3 gene hit aeryk's aircraft carrier! ok 165 - ..and it's a (0) miss. ok 166 - gene strikes aeryk at row=7, col=4 aeryk hit gene's cruiser! ok 167 - ..and it's a (1) hit! ok 168 - aeryk strikes gene at row=7, col=5 gene hit aeryk's aircraft carrier! ok 169 - ..and it's a (1) hit! aeryk hit gene's aircraft carrier! ok 170 - gene strikes aeryk at row=7, col=6 ok 171 - ..and it's a (1) hit! gene hit aeryk's aircraft carrier! ok 172 - aeryk strikes gene at row=7, col=7 ok 173 - ..and it's a (1) hit! aeryk missed gene at 7, 9. ok 174 - gene strikes aeryk at row=7, col=8 ok 175 - ..and it's a (1) hit! ok 176 - aeryk strikes gene at row=7, col=9 gene missed aeryk at 8, 0. ok 177 - ..and it's a (0) miss. ok 178 - gene strikes aeryk at row=8, col=0 ok 179 - ..and it's a (0) miss. aeryk missed gene at 8, 1. ok 180 - aeryk strikes gene at row=8, col=1 gene missed aeryk at 8, 2. ok 181 - ..and it's a (0) miss. ok 182 - gene strikes aeryk at row=8, col=2 aeryk missed gene at 8, 3. ok 183 - ..and it's a (0) miss. ok 184 - aeryk strikes gene at row=8, col=3 gene missed aeryk at 8, 4. ok 185 - ..and it's a (0) miss. aeryk hit gene's cruiser! ok 186 - gene strikes aeryk at row=8, col=4 ok 187 - ..and it's a (0) miss. gene missed aeryk at 8, 6. ok 188 - aeryk strikes gene at row=8, col=5 ok 189 - ..and it's a (1) hit! aeryk missed gene at 8, 7. ok 190 - gene strikes aeryk at row=8, col=6 ok 191 - ..and it's a (0) miss. gene missed aeryk at 8, 8. ok 192 - aeryk strikes gene at row=8, col=7 ok 193 - ..and it's a (0) miss. ok 194 - gene strikes aeryk at row=8, col=8 aeryk missed gene at 8, 9. ok 195 - ..and it's a (0) miss. ok 196 - aeryk strikes gene at row=8, col=9 gene missed aeryk at 9, 0. ok 197 - ..and it's a (0) miss. ok 198 - gene strikes aeryk at row=9, col=0 aeryk missed gene at 9, 1. ok 199 - ..and it's a (0) miss. ok 200 - aeryk strikes gene at row=9, col=1 gene missed aeryk at 9, 2. ok 201 - ..and it's a (0) miss. aeryk missed gene at 9, 3. ok 202 - gene strikes aeryk at row=9, col=2 ok 203 - ..and it's a (0) miss. gene missed aeryk at 9, 4. ok 204 - aeryk strikes gene at row=9, col=3 ok 205 - ..and it's a (0) miss. aeryk hit gene's cruiser! aeryk sunk gene's cruiser! ok 206 - gene strikes aeryk at row=9, col=4 ok 207 - ..and it's a (0) miss. ok 208 - aeryk strikes gene at row=9, col=5 gene missed aeryk at 9, 6. ok 209 - ..and it's a (1) hit! ok 210 - gene strikes aeryk at row=9, col=6 aeryk missed gene at 9, 7. ok 211 - ..and it's a (0) miss. ok 212 - aeryk strikes gene at row=9, col=7 gene missed aeryk at 9, 8. ok 213 - ..and it's a (0) miss. ok 214 - gene strikes aeryk at row=9, col=8 aeryk missed gene at 9, 9. ok 215 - ..and it's a (0) miss. ok 216 - aeryk strikes gene at row=9, col=9 Duplicate strike on aeryk by gene at 0, 0. ok 217 - ..and it's a (0) miss. ok 218 - gene strikes aeryk at row=0, col=0 ok 219 - ..and it's a (-1) duplicate strike? ok 220 - gene's resulting grid: # . . . . . . . . . . # . . . . . . . . . . # . . . . . . . . . . # . . . . . . . a . . # . . . . . . S a . . # D . . . . . S a . . # D b B b B . S a . . # . . . . . c . a . . # . . . . . c . . . . # . . . . . c . . . . ok 221 - aeryk's resulting grid: # . . . . . . . . . . # . . . . . . . . . . # . . d D . . . . . . # . . . . . . . C . . # . . . . . . . C s B # . . . . . . . C s B # . . . . . . . . s B # . . . . a A a A a B # . . . . . . . . . . # . . . . . . . . . . 1..221 ok All tests successful. Files=1, Tests=221, 2 wallclock secs ( 1.42 cusr + 0.23 csys = 1.65 CPU) Installing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/Games/Battleship.pm Installing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/Games/Battleship/Grid.pm Installing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/Games/Battleship/Craft.pm Installing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/Games/Battleship/Player.pm Installing /home/cpanrun/pa-risc1.1/build/5.6.1/man/man3/Games::Battleship::Grid.3 Installing /home/cpanrun/pa-risc1.1/build/5.6.1/man/man3/Games::Battleship::Craft.3 Installing /home/cpanrun/pa-risc1.1/build/5.6.1/man/man3/Games::Battleship::Player.3 Installing /home/cpanrun/pa-risc1.1/build/5.6.1/man/man3/Games::Battleship.3 Writing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/auto/Games/Battleship/.packlist Appending installation info to /home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi/perllocal.pod