bind_value inconsistency

--_000_CY4PR17MB14471A63D4FB32CA2CB5A936DD9A0CY4PR17MB1447namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,

I've just recently started using DBi for a project I am working on and I ha=
ve concerns about the inconsistency of @bind_value between both the selectr=
ow_* and selectall_* functions.

Each of the selectrow_* functions I can set my @bind_value as a single valu=
e in scalar context.

But each of the selectall_* functions the @bind_value cannot be anything ot=
her than an array_ref.

I would like to propose a change to allow the selectall_* functions to allo=
w both a string in scalar context as well as the standard array_ref.


Jesse Riddle
Information Systems Coordinator
Terahash LLC
Mob: +1-253-391-8511
Twt: @darkseid4nk


--_000_CY4PR17MB14471A63D4FB32CA2CB5A936DD9A0CY4PR17MB1447namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;}
..MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;ve just recently started using DBi for a pro=
ject I am working on and I have concerns about the inconsistency of @bind_v=
alue between both the selectrow_* and selectall_* functions.<br>
<br>
Each of the selectrow_* functions I can set my @bind_value as a single valu=
e in scalar context.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">But each of the selectall_* functions the @bind_valu=
e cannot be anything other than an array_ref.<br>
<br>
I would like to propose a change to allow the selectall_* functions to allo=
w both a string in scalar context as well as the standard array_ref.<o:p></=
o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Jesse Riddle<o:p></o:p></p>
<p class=3D"MsoNormal">Information Systems Coordinator<o:p></o:p></p>
<p class=3D"MsoNormal">Terahash LLC<o:p></o:p></p>
<p class=3D"MsoNormal">Mob: &#43;1-253-391-8511<o:p></o:p></p>
<p class=3D"MsoNormal">Twt: @darkseid4nk<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CY4PR17MB14471A63D4FB32CA2CB5A936DD9A0CY4PR17MB1447namp_--
0
jriddle
1/24/2019 11:50:23 PM
perl.dbi.dev 1960 articles. 0 followers. Follow

0 Replies
223 Views

Similar Articles

[PageSpeed] 1

Reply: