Hi,
On Wed, 28 Mar 2018 13:00:47 +0700
Olivier wrote:
> Hi,
>
> I am building a script to modify my LDAP directory and I want to use
> something like:
>
> $mesg = $ldap->modify( $dn,
> replace => {
> description => 'New List of members',
> seeAlso => 'Some reference'
> }
> );
>
>
Hi,
I am building a script to modify my LDAP directory and I want to use
something like:
$mesg = $ldap->modify( $dn,
replace => {
description => 'New List of members',
seeAlso => 'Some reference'
}
);
But I would like to build the list of replacements dynamically, that is,
have a var
On Tue, Oct 22, 2002 at 12:49:48PM -0400, Chris Benco wrote:
[snip]
> my @output = $session->cmd(
>
> "ping
> $protocol
> $ip
> $repeat
> $datagram
> $timeout
> $extended
> $sweep
> ");
[snip]
> $session->cmd(Timeout => 3600);
> my @output = $session->cmd(
[sn
Fairly new to perl, and even programming in general.
When I try to have this program it to a large number of pings (anything
over about 200) it times out. There is a built in feature to
Net::Telnet::Cisco to change the Timeout value, but I can't seem to get it
coded correctly.
http://search.cpa
On Wed, Oct 02, 2002 at 09:25:43AM -0700, nkuipers wrote:
> Could you also use quote() for this?
Yes, $dbh->quote() can also be used for quoting strings. I generally don't
suggest it because it's more awkward and makes for less readable code than
placeholders.
Michael
--
Administrator
>Use placeholders:
Could you also use quote() for this?
"Ain't no blood in my body, it's liquid soul in my veins"
~Roots Manuva
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: mysql syntax problem
10/02/02 09:33
On Wed, Oct 02, 2002 at 09:06:16AM +0100, [EMAIL PROTECTED] wrote:
> when i query a mysql db within a perl script
> this works fine...
> $sth = $dbh->prepare ("SELECT venue from base1 WHERE op = 'K Trevan'");
>
> this doesn't..
> $sth = $dbh->prepare ("SELECT venue from base1 WHERE op = 'K O'Trev
Hi all
when i query a mysql db within a perl script
this works fine...
$sth = $dbh->prepare ("SELECT venue from base1 WHERE op = 'K Trevan'");
this doesn't..
$sth = $dbh->prepare ("SELECT venue from base1 WHERE op = 'K O'Trevan'");
i know the issue is 'K O'Trevan' in that the 2nd ' completes