Skip to content

Instantly share code, notes, and snippets.

@cjac
Created April 10, 2018 17:52
Show Gist options
  • Save cjac/4ae69187d9b5ddc5012ab6dd60bf6643 to your computer and use it in GitHub Desktop.
Save cjac/4ae69187d9b5ddc5012ab6dd60bf6643 to your computer and use it in GitHub Desktop.
diff --git a/src/Setup.pl b/src/Setup.pl
index a924d07..851b373 100644
--- a/src/Setup.pl
+++ b/src/Setup.pl
@@ -109,13 +109,13 @@ sub setup {
$param{'maxKeySize'} ||= 30; # maximum LHS length
$param{'maxDataSize'} ||= 200; # maximum total length
- if (!defined(@verb)) {
+ if (!@verb) {
@verb = split(" ", "is are");
# am was were does has can wants needs feels
# handle s-v agreement for non-being verbs later
}
- if (!defined(@qWord)) {
+ if (!@qWord) {
@qWord = split(" ", "what where who"); # why how when
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment