[CDBI] Does Class::DBI require hash-based objects?
[prev]
[thread]
[next]
[Date index for 2006/01/03]
This is a multi-part message in MIME format.
--===============0079803169==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C61089.A407244A"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C61089.A407244A
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello all,
=20
I'm new Class::DBI and this list. I have (what I think is) a basic
question about Class::DBI that I haven't been able to find the answer to
in the docs, the mailing list archives, Google, etc.
=20
Does Class::DBI require that its subclasses (application base classes as
described in the Class::DBI doc) use hash-based objects?
=20
I'm attempting to use Class::DBI along with Class::Std. Classes based
on Class::Std don't use hash-based objects - they use scalar-based
objects and hash-based attributes. (See the Class:Std documentation or
"Perl Best Practices" from O'Reilly for more on this). Has anyone done
this before?
=20
If this is something I need to post more info about (e.g. a failing test
case), I'll do that. But I was hoping there might be an easy answer to
this (e.g. some documentation I've missed, etc).
=20
Thanks
Jesse
------_=_NextPart_001_01C61089.A407244A
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello all,</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I’m new Class::DBI and this list. I have =
(what I
think is) a basic question about Class::DBI that I haven’t been =
able to
find the answer to in the docs, the mailing list archives, Google, =
etc.</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Does Class::DBI require that its subclasses =
(application
base classes as described in the Class::DBI doc) use hash-based =
objects?</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I’m attempting to use Class::DBI along with
Class::Std. Classes based on Class::Std don’t use hash-based
objects – they use scalar-based objects and hash-based attributes. =
(See
the Class:Std documentation or “Perl Best Practices” from =
O’Reilly
for more on this). Has anyone done this before?</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>If this is something I need to post more info about =
(e.g. a
failing test case), I’ll do that. But I was hoping there =
might be an
easy answer to this (e.g. some documentation I’ve missed, =
etc).</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Jesse</span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C61089.A407244A--
--===============0079803169==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
--===============0079803169==--
|
[CDBI] Does Class::DBI require hash-based objects?
Jesse Sookne 17:17 on 03 Jan 2006
|