2 # heredoc_demo.pl doom@kzsu.stanford.edu
10 use File::Path qw( mkpath );
11 use File::Basename qw( fileparse basename dirname );
12 use File::Copy qw( copy move );
13 use Fatal qw( open close mkpath copy move );
14 use Cwd qw( cwd abs_path );
19 my $prog = basename($0);
24 my $DEBUG = $opt{d} || 1; # TODO set default to 0 when in production
26 my ($title, $incantation, $god);
28 my $skull=<<"END_SQL";
29 SELECT id, god, incantation
31 WHERE pantheon.id = spell.pantheon AND
32 pantheon.name = 'lovecraft'
35 my $phfftp=<<"END_HTML";
36 <HTML><HEAD><TITLE>$title</TITLE></HEAD>
39 <P>Speak not the dread words of $incantation
40 lest ye invoke the $god.</P>
51 heredoc_demo.pl - (( TODO insert brief description ))
55 heredoc_demo.pl -[options] [arguments]
66 Turn on debug messages.
72 B<heredoc_demo.pl> is a script which
74 (( TODO insert explaination
75 This is stub documentation created by template.el. ))
79 Joseph Brenner, E<lt>doom@kzsu.stanford.eduE<gt>
81 =head1 COPYRIGHT AND LICENSE
83 Copyright (C) 2009 by Joseph Brenner
85 This program is free software; you can redistribute it and/or modify it
86 under the terms of either: the GNU General Public License as published
87 by the Free Software Foundation; or the Artistic License.
89 See http://dev.perl.org/licenses/ for more information.