Subject: | Syntax error |
I just installed Parse::Dia::SQL today, and hit the error:
syntax error at /usr/local/bin/parsediasql line 47, near "$backticks
htmlformat"
Global symbol "$dia" requires explicit package name at
/usr/local/bin/parsediasql line 49.
Execution of /usr/local/bin/parsediasql aborted due to compilation
errors.
It turns out that there was a missing comma after '$backticks':
my $dia = Parse::Dia::SQL->new(
file => $file,
db => $db,
ignore_type_mismatch => $ignore_type_mismatch,
uml => $uml,
loglevel => $loglevel,
backticks => $backticks
htmlformat => $htmlformat,
);
Probably unimportant, but for completeness:
Fedora release 17 (Beefy Miracle)
Linux 3.5.0-2.fc17.x86_64 #1 SMP Mon Jul 30 14:48:59 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
perl5 (revision 5 version 14 subversion 2)