On Tue, Feb 03, 2004 at 04:35:46PM +, Harry Jackson wrote:
> [... ]
> Question:
> Since Dan has said that objects are nearly finished is there any point
> spending too much time working on this. Would our time be better spent
> helping to get objects finished pronto.
I think so. It's basicall
Tim Bunce wrote:
On Fri, Jan 30, 2004 at 02:26:27PM +, Harry Jackson wrote:
dbstring = "host=lhost dbname=name user=user password=pass"
.pcc_begin prototyped
.arg dbstring
.pcc_call connect
retconnect:
.result dbh
.pcc_end
print "New $dbh successful\n"
On Fri, Jan 30, 2004 at 02:26:27PM +, Harry Jackson wrote:
>
> >> dbstring = "host=lhost dbname=name user=user password=pass"
> >> .pcc_begin prototyped
> >> .arg dbstring
> >> .pcc_call connect
> >> retconnect:
> >> .result dbh
> >> .pcc_end
> >> prin
On Fri, Jan 30, 2004 at 03:11:05PM +, Harry Jackson wrote:
>
> .pcc_sub _MAIN prototyped
> .param pmc argv
> .include "/home/parrot/dbdi/lib/dbdi/dbdi_header.imc"
>
> .sym pmc dbh
> .sym string dbstring
> dbstring = "host=lhost dbname=name user=user password=pass"
>
There are some subtle changes to the code below.
I have now changed the dbh and sth objects to pmc's
You must now name the dbh and the sth. This allows us to use several of
either as long as we have no name collisions.
Harry
.pcc_sub _MAIN prototyped
.param pmc argv
.include "/home/pa
Tim Bunce wrote:
On Thu, Jan 29, 2004 at 09:00:56PM +, Harry Jackson wrote:
.pcc_sub _MAIN prototyped
.param pmc argv
.include "/home/parrot/dbdi/lib/dbdi/dbdi_header.imc"
.sym string dbstring
.sym PerlHash dbh
The application shouldn't need to know the type of the thing ret
On Thu, Jan 29, 2004 at 09:00:56PM +, Harry Jackson wrote:
> Ok.
>
> I have managed to knock up an initial draft. You will see straight away
> that it is very limited in what it does. I have managed to run the
> select statement as shown in the code and it does return 1 records
> althou