summaryrefslogtreecommitdiff
path: root/tokhash.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tokhash.pl')
-rwxr-xr-xtokhash.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokhash.pl b/tokhash.pl
index 0c69c03..6c05802 100755
--- a/tokhash.pl
+++ b/tokhash.pl
@@ -183,7 +183,7 @@ if ($output eq 'h') {
#
@hashinfo = gen_perfect_hash(\%tokens);
- if (!defined(@hashinfo)) {
+ if (!@hashinfo) {
die "$0: no hash found\n";
}