-Original Message-
From: kenTk [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 01, 2008 10:41 PM
To: beginners@perl.org
Subject: Re: Reading from multiple sockets.
On Oct 30, 8:33 am, [EMAIL PROTECTED] (Kammen van) wrote:
> >>> From: Peter Scott [mailto:[EMAIL PROTECTED]
> >>> Subjec
Hi all,
I have a string which contains spaces. I need to replace those spaces
with underscore, so I have written command like this
$string="fsdfsdfsdf fsdfsdfsdf";
chomp($string1 = ($string =~ s/\s+$/_/g));
print "$string1\n";
but still $string1 is not printing proper result. Result sho
On Mon, Nov 3, 2008 at 11:43 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 3, 2008 at 00:58, Amit Saxena <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > What's the difference between passing "?" versus ":1", ":2", ":3" etc in
> > prepare in Perl DBI ?
> >
> > For example, what's the differenc
On Mon, Nov 3, 2008 at 00:58, Amit Saxena <[EMAIL PROTECTED]> wrote:
> Hi
>
> What's the difference between passing "?" versus ":1", ":2", ":3" etc in
> prepare in Perl DBI ?
>
> For example, what's the difference between following two scenarios :-
>
> *Scenario 1*
>
> $sth = $dbh->prepare("insert
Hi
What's the difference between passing "?" versus ":1", ":2", ":3" etc in
prepare in Perl DBI ?
For example, what's the difference between following two scenarios :-
*Scenario 1*
$sth = $dbh->prepare("insert into tablename values (:1, :2, :3)");
$sth->execute($var1,$var2,$var3);
*Scenario 2
Jeff Pang wrote:
I didn't see you assign a value to %forecast but you can loop through it,why?
- Original Message -
From: Richard Lee
To: Perl Beginners
Subject: trying to parse out the simple xml file from the book with XML::Parser
and I get not well-formed error
Date: 2008-11-3 09
I didn't see you assign a value to %forecast but you can loop through it,why?
- Original Message -
From: Richard Lee
To: Perl Beginners
Subject: trying to parse out the simple xml file from the book with XML::Parser
and I get not well-formed error
Date: 2008-11-3 09:48:05
use strict;
Richard Lee wrote:
Not sure why I get this..
As xml file is very very simple one(I even tried to put different
encoding as well).
Below is all necessary information.
[EMAIL PROTECTED] script]# uname -a
Linux xmen 2.6.25.14-108.fc9.i686 #1 SMP Mon Aug 4 14:08:11 EDT 2008
i686 i686 i386 GNU/Li
Not sure why I get this..
As xml file is very very simple one(I even tried to put different
encoding as well).
Below is all necessary information.
[EMAIL PROTECTED] script]# uname -a
Linux xmen 2.6.25.14-108.fc9.i686 #1 SMP Mon Aug 4 14:08:11 EDT 2008
i686 i686 i386 GNU/Linux
[EMAIL PROTECTE
On Oct 30, 8:33 am, [EMAIL PROTECTED] (Kammen van) wrote:
> >>> From: Peter Scott [mailto:[EMAIL PROTECTED]
> >>> Subject: Re: Reading from multiple sockets.
>
> >> On Tue, 21 Oct 2008 12:53:53 +0200, Kammen van, Marco, Springer SBM
> NL
> >> wrote:
> >> I'm pretty new to working with sockets in pe
10 matches
Mail list logo