[vox-tech] sqlite + perl - wierd unrecognized token error

Peter Jay Salzman p at dirac.org
Thu Dec 23 11:09:20 PST 2004


On Thu 23 Dec 04, 11:05 AM, Chris Jenks <jenks at resonance.org> said:
> 
> On Thu, 23 Dec 2004, Peter Jay Salzman wrote:
> 
> >I'm getting an error message that I don't know how to fix:
> >
> >[...]
> >  DBD::SQLite::db do failed: unrecognized token: ":" at Create_Tables.pm 
> >  line
> >  52, <> line 6.
> >
> >[...]
> >     my $dbh = DBI->connect("dbi:SQLite:$table_name");
> >[...]
> 
>   Do these need to be double colons (i.e., ::) rather than single? Just a 
> stab in the dark!

Heh.  I'll definitely take a stab in the dark -- I'm clueless.  :)

Unfortunately, that wasn't it.  I'm guessing that ":" delineates arguments
to the connect method.  Maybe it does a split on a colon.

*sigh*

Pete

-- 
The mathematics of physics has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's "Fearful Symmetry"

GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list