On Tue, 26 Feb 2002, Aaron J Mackey wrote:
> 1. We need to specify connection metadata (DBD driver to use, and
> connection parameters: we can specify those at import time (use Inline SQL
> => DATA, HOST => 'myhost', etc), or at run time via Inline->bind(), or in
> a metadata section of the __DATA__ stream (not sure I like that so much).
When you say "import time" bear in mind that as it stands the stuff you
mention in "use Inline SQL => DATA, HOST => 'myhost', etc" is inaccessible
to the run time code, only the compiling to cache code, meaning that this
meta data will remain the same until you edit the file or delete the
..Inline (Ingy has promised this will change in the next version.)
It'd be really odd to have to delete stuff just because I've changed my
user password (this might not actually change the file with the SQL in it
- e.g. if I use DBIx::Password or somesuch)
Later.
Mark.
P.S. Any news when the next version of Inline will be out? If this is
a while off, any chance of a sub release with minor updates (such as
changing the aboved mentioned behavior) before then?
--
s'' Mark Fowler London.pm Bath.pm
http://www.twoshortplanks.com/ [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}