Thanks for the correction! I've never used placeholders with the "do",
but now I'll read the perldocs about just how to do that.
Hardy
>>> "Ronald J Kimball" <[EMAIL PROTECTED]> 01/22/04 05:25PM >>>
Hardy Merrill [EMAIL PROTECTED] wrote:
>
> You really need to read 'perldoc DBI' (at a command
- Original Message -
From: "Hardy Merrill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 22, 2004 11:21 AM
Subject: Re: Strange matching problem...
> HM>> I don't see any matching logic in your
Hardy Merrill [EMAIL PROTECTED] wrote:
>
> You really need to read 'perldoc DBI' (at a command prompt) and pay
> attention to how placeholders are used. See below. As Dave Murray
> suggested, the Programming the Perl DBI book would be a good
> investment.
>
> > $dbh->do(qq{
> >
s
again.
Hardy
>>> "Brian Campbell" <[EMAIL PROTECTED]> 01/22/04 03:52PM >>>
- Original Message -
From: "Hardy Merrill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 22, 2004 11:21 AM
Subjec
NIPP, SCOTT V (SBCSI) wrote:
OK... From what I have read, the "prepare...execute" method is no
more acceptable than the "do" method. My understanding is that if you are
going to be inserting multiple instances, without looping, then you are
better served with using the "prepare...execute
the feedback again.
Scott Nipp
Phone: (214) 858-1289
E-mail: [EMAIL PROTECTED]
Web: http:\\ldsa.sbcld.sbc.com
-Original Message-
From: David N Murray [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:07 PM
To: NIPP, SCOTT V (SBCSI)
Cc: Hardy Merrill; [EMAIL PROTECTED]
Su
On Jan 22, NIPP, SCOTT V (SBCSI) scribed:
> OK. I am working on converting this to use placeholders and the
> "qq" quoting option. I am obviously very new to placeholders, so this is
> probably a stupid question, but here goes. I execute the script and receive
> the following error:
>
> [
, January 22, 2004 2:11 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject: RE: Strange matching problem...
You really need to read 'perldoc DBI' (at a command prompt) and pay
attention to how placeholders are used. See below. As Dave Murray
suggested, the Programming the Perl DBI
h->execute(undef,$key1,$uid,$gid,$gcos,$home,$shell)
or print "Error with INSERT _execute_: $DBI::errstr\n";
See if that works.
Hardy Merrill
Thanks again for the help.
Scott Nipp
Phone: (214) 858-1289
E-mail: [EMAIL PROTECTED]
Web: http:\\ldsa.sbcld.sb
]
Web: http:\\ldsa.sbcld.sbc.com
-----Original Message-
From: Hardy Merrill [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:46 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject: RE: Strange matching problem...
This time HM### - I hate Groupwise! Can't properly q
uot;;
Thanks again for the help.
Scott Nipp
Phone: (214) 858-1289
E-mail: [EMAIL PROTECTED]
Web: http:\\ldsa.sbcld.sbc.com
-Original Message-
From: Hardy Merrill [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:46 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject:
y 22, 2004 12:46 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject: RE: Strange matching problem...
This time HM### - I hate Groupwise! Can't properly quote anything.
>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 01/22/04 01:32PM >>>
OK... F
hopefully I can
come
back with some more useful information. Thanks again.
Scott Nipp
Phone: (214) 858-1289
E-mail: [EMAIL PROTECTED]
Web: http:\\ldsa.sbcld.sbc.com
-Original Message-
From: Hardy Merrill [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:22 PM
To: [EMA
nt: Thursday, January 22, 2004 12:22 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject: Re: Strange matching problem...
My comments below as HM>>. I'll repeat one general suggestion made
previously - use placeholders :)
>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL
My comments below as HM>>. I'll repeat one general suggestion made
previously - use placeholders :)
>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 01/22/04 01:05PM >>>
I am working on a script to gather data about Unix user
accounts.
This is going well so far and has gotten us some initi
15 matches
Mail list logo