WARNING SCRIPT PROBLEM
$@ = Can't locate YAML.pm in @INC (@INC contains: /home/kellob5/public_html/cgi-bin /home/kellob5/perl5/lib/perl5 /home/kellob5/perl5/lib/perl5/x86_64-linux-thread-multi /home/kellob5/perl/usr/local/lib64/perl5 /home/kellob5/perl/usr/local/share/perl5 /home/kellob5/perl/usr/lib64/perl5/vendor_perl /home/kellob5/perl/usr/share/perl5/vendor_perl /home/kellob5/perl/usr/lib64/perl5 /home/kellob5/perl/usr/share/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 5) line 3. BEGIN failed--compilation aborted at (eval 5) line 3.
$last_eval_warn =
$os =

Script follows...
line numcode
1print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ' . "\n" . ' "http://www.w3.org/TR/html4/loose.dtd"> ' . "\n" . ' ' . "\n" . ' ' . "\n";
2
3use YAML;
4use CGI;
5use wed_message qw(storeMessage showThank showThread followThread createNewThread showTitles findOrSet);
6
7my $dataFile = "../wedding/messages.yaml";
8
9my $q = new CGI;
10
11my $d = YAML::LoadFile($dataFile);
12
13my $c = {};
14
15findOrSet("threadshow", $c, $q, 0, "param");
16findOrSet("followup", $c, $q, 0, "param");
17findOrSet("newthread", $c, $q, 0, "param");
18findOrSet("subject", $c, $q, "", "param");
19findOrSet("author", $c, $q, "", "prioritize_param");
20findOrSet("body", $c, $q, "", "param");
21findOrSet("storeID", $c, $q, 0, "param");
22findOrSet("email", $c, $q, "", "prioritize_param");
23findOrSet("ajax", $c, $q, 0, "param");
24
25# my $c1 = $q->cookie(-name => 'email', -value => $c->{email});
26# my $c2 = $q->cookie(-name => 'name', -value => $c->{name});
27#print $q->header(-cookie => [$c1, $c2]);
28
29print ' ' . "\n" . '<html> ' . "\n" . ' <head> ' . "\n" . ' <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> ' . "\n" . ' <link rel="stylesheet" type="text/css" href="http://www.kellobowitz.net/wedding/wedding.css"> ' . "\n" . ' <title>Ann & David Wedding Message Board</title> ' . "\n" . ' <base target="_blank"> ' . "\n" . '</head> ' . "\n" . '<body> ' . "\n" . ' <h2>Message Board</h2> ' . "\n" . ' <h3 style="text-decoration: underline; text-style: italic">New messages have been disabled because of vandalism.</h3> ' . "\n" . ' ' . "\n";
30
31if (0) {
32# if ($c->{storeID}) {
33 print storeMessage($d,$c,$dataFile);
34 print showThank();
35} elsif ($c->{threadshow}) {
36 print showThread($d,$c);
37} elsif ($c->{followup}) {
38 print followThread($d,$c);
39} elsif (0) {
40# } elsif ($c->{newthread}) {
41 print createNewThread($d,$c)
42} else {
43 print showTitles($d,$c);
44}
45
46print ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . '</body> ' . "\n" . '</html> ' . "\n";