| 1 | # $Revision: #4 $$Date: 2005/08/31 $$Author: jd150722 $ | ||
| 2 | ###################################################################### | ||
| 3 | # | ||
| 4 | # This program is Copyright 2003-2005 by Jeff Dutton. | ||
| 5 | # | ||
| 6 | # This program is free software; you can redistribute it and/or modify | ||
| 7 | # it under the terms of either the GNU General Public License or the | ||
| 8 | # Perl Artistic License. | ||
| 9 | # | ||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | # GNU General Public License for more details. | ||
| 14 | # | ||
| 15 | # If you do not have a copy of the GNU General Public License write to | ||
| 16 | # the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, | ||
| 17 | # MA 02139, USA. | ||
| 18 | ###################################################################### | ||
| 19 | |||
| 20 | package Parse::RandGen; | ||
| 21 | |||
| 22 | 4 | require 5.006_001; | |
| 23 | 4 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 4 | ▶ | use Data::Dumper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | 4 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | 4 | require Exporter; | |
| 28 | 4 | @ISA = ('Exporter'); | |
| 29 | 4 | @EXPORT_OK = qw($Debug); | |
| 30 | } | ||
| 31 | |||
| 32 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 33 | 4 | ▶ | use vars qw($VERSION $Debug); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 34 | 4 | $VERSION = '0.202'; | |
| 35 | #$Debug = 1; # Set to turn on debugging | ||
| 36 | |||
| 37 | # Use all of the components of this package (so each module doesn't have to replicate the code) | ||
| 38 | 4 | ▶ | use Parse::RandGen::Condition; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 39 | 4 | ▶ | use Parse::RandGen::Production; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 40 | 4 | ▶ | use Parse::RandGen::Rule; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 41 | 4 | ▶ | use Parse::RandGen::Grammar; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 42 | 4 | ▶ | use Parse::RandGen::Subrule; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 43 | 4 | ▶ | use Parse::RandGen::Literal; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 44 | 4 | ▶ | use Parse::RandGen::CharClass; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 45 | 4 | ▶ | use Parse::RandGen::Regexp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 46 | |||
| 47 | ###################################################################### | ||
| 48 | #### Package return | ||
| 49 | 4 | 1; | |
| 50 | __END__ | ||