Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Saratoga Support : DBI methods



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Nick Pleis (npleis@saratogaweb.com):
> 
> Hey,
> 
> I was looking through the docs trying to figure out how to get access 
> (on my own) to the perl DBI methods.
> 
> I think it goes something like
> 
> [perl global=1 tables="products"]
> 	my $dbh = $SQL{products}
> 		or return "Is database Shared?";
> 	my $sth = $dbh->prepare(); ...etc..etc...(standard DBI stuff)
> [/perl]
> 
> However, no matter WHAT table name I use..or what table I open...I can 
> not get this tag to work.
> 
> I have set the :
> 
> AllowGlobal 1
> 
> in the minivend.cfg, and upon restart I encountered no problems. Is 
> there something i'm missing?

Yes, reading the AllowGlobal documentation. 8-) You have just allowed
a catalog named "1" to have global access.

Otherwise, it should work. Some things may even work with only Safe::Hole
installed and no AllowGlobal, though I have not tested much of that.

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: