ScottAdams.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ScottAdams/Game.pm ↑ Summary
1 # $Id: ScottAdams.pm,v 1.5 2006-11-02 18:04:37 mike Exp $
2  
3 # ScottAdams.pm - a compiler for Scott Adams adventures
4  
5 package Games::ScottAdams;
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 $VERSION = '0.05';
10  
11 =head1 NAME
12  
13 Games::ScottAdams - Perl extension for representing Scott Adams games
14  
15 =head1 SYNOPSIS
16  
17 use Games::ScottAdams;
18 $game = new Games::ScottAdams::Game();
19 $game->parse('/usr/local/lib/sac/foo.sac');
20 $game->compile();
21  
22 =head1 DESCRIPTION
23  
24 This module allows adventure games in the textual SAC format to be
25 compiled into a form that can be understood by Scott Adams adventure
26 interpreters such as ScottFree and GnomeScott.
27  
28 I don't propose to discuss the API because frankly, no-one will ever
29 call it. They'll just use the trivial front-end program C<sac> which
30 is essentially identical to the code in the SYNOPSIS, but with a few
31 more C<use strict>s and suchlike.
32  
33 You'd do much better to read the Tutorial and Reference Manual.
34  
35  
36 =head1 SEE ALSO
37  
38 I<The Scott Adams Adventure Compiler Tutorial>
39 (B<Games::ScottAdams::Tutorial>)
40  
41 I<The Scott Adams Adventure Compiler Reference Manual>
42 (B<Games::ScottAdams::Manual>)
43  
44 C<sac>, the Scott Adams Compiler that uses this module.
45  
46 =head1 AUTHOR
47  
48 Mike Taylor E<lt>mike@miketaylor.org.ukE<gt>
49  
50 First version Tuesday 17th April 2001.
51  
52 =cut
53  
54  
55 1 ▶use Games::ScottAdams::Game;
Subroutine BEGIN: called CC=1 SCAR=0.0
56  
57 1 1;
58 __END__
« ScottAdams/Game.pm ↑ Summary