in reply to Hash Uninitialized Values Error
FWIW, the DECISION heredoc wasn't printing out. I believe that it has something to do with heredocs needing to be flush with the left margin. As a quick workaround, I used
Filter::Indent::HereDoc. Here's a simplified example:
#!/usr/bin/perl use strict; use warnings; use Filter::Indent::HereDoc; DECISION: { { print <<EOF; Hi. This is the Lee-Hardy Conclusion Calculator. Given a series of statements using the syntax 'p -> q', I will deduce the correct conclusion to be made using basic logic and the chain rule. Type 'ready' when you are ready to input your statements. Type 'quit' to exit the LHCC. EOF } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Hash Uninitialized Values Error
by GrandFather (Saint) on Dec 26, 2013 at 01:43 UTC | |
Re^2: Hash Uninitialized Values Error
by Anonymous Monk on Dec 26, 2013 at 00:01 UTC | |
by Anonymous Monk on Dec 26, 2013 at 00:05 UTC | |
by Anonymous Monk on Dec 26, 2013 at 00:38 UTC | |
by slinky773 (Sexton) on Dec 26, 2013 at 00:28 UTC |
In Section
Seekers of Perl Wisdom