[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Problem with using %Db in local usertags (4.7.x)
Hello,
I'm having a usertag like this:
UserTag example Routine <<EOF
sub {
$db = $Db{'whatever'};
unless ($db) {
Log ("No such database: %s", 'whatever');
return;
}
}
EOF
If I call [example] on a page, I get an error "No such database".
The error can be avoided by placing [perl tables=whatever]
anywhere before [example]. This seems rather clumsy to me.
The database in question is SQL.
Any hints to improve this ?
Bye
Racke
--
Alter ego of LinuXia Systems (URL: http://www.linuxia.de),
Debian maintainer (e.g. Courier Mail Server suite), Interchange developer;
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users