Hi,
If you're running a webprom under mod_perl, then Apache::DBI is maybe what you
wanted.
On Nov 26, 2009, Praveena Vittal wrote:
Hi All,
We would like to implement connection pooling for mysql database in Perl.
Can anyone help in this?
--
To unsubscribe, e-mail: beginners-unsubscr
Hi All,
We would like to implement connection pooling for mysql database in Perl.
Can anyone help in this?
Regards,
Praveena
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Wed, Nov 25, 2009 at 03:41:27PM -0600, Aimee Cardenas wrote:
> Hi, All,
>
> I keep running into problems trying to load the GD perl module
> (http://search.cpan.org/~lds/GD-2.44/) onto a Solaris system (spac Sun
> Blade 2500). Does anyone know if it's just not feasible? The GD README
> men
On 11/25/09 Wed Nov 25, 2009 2:14 AM, "kusuma ramaswamy"
scribbled:
> Hello, I am new to perl. I would like to know how to toggle a variable with
> each iteration in a loop ??
while( ... ) {
$variable = ! $variable;
}
Does that do what you want?
--
To unsubscribe, e-mail: beginners-u
Hi, All,
I keep running into problems trying to load the GD perl module (http://search.cpan.org/~lds/GD-2.44/
) onto a Solaris system (spac Sun Blade 2500). Does anyone know if
it's just not feasible? The GD README mentions Mac OS X and Linux and
even Windows but not Solaris. The problems
Paul Johnson wrote:
> On Wed, Nov 25, 2009 at 02:16:51PM -0500, Steve Bertrand wrote:
>
>> Hi all,
>>
>> I just upgraded from perl 5.8 to perl 5.10.1. Everything went well,
>> except for a single module that I need.
>>
>> The offending code is this:
>>
>> ${$self->{__pb_template_list}}[...@{$self-
On Wed, Nov 25, 2009 at 02:16:51PM -0500, Steve Bertrand wrote:
> Hi all,
>
> I just upgraded from perl 5.8 to perl 5.10.1. Everything went well,
> except for a single module that I need.
>
> The offending code is this:
>
> ${$self->{__pb_template_list}}[...@{$self->{__PB__TEMPLATE_LIST}}}]->pa
2009/11/25 Steve Bertrand :
> Steve Bertrand wrote:
>> Hi all,
>>
>> I just upgraded from perl 5.8 to perl 5.10.1. Everything went well,
>> except for a single module that I need.
>>
>> The offending code is this:
>>
>> ${$self->{__pb_template_list}}[...@{$self->{__PB__TEMPLATE_LIST}}}]->param(
>>
2009/11/25 Steve Bertrand :
>>
>> ${$self->{__pb_template_list}}[...@{$self->{__PB__TEMPLATE_LIST}}}]->param(
>> $param, $value );
>>
>> As I understand it, $# has been deprecated in 5.10.
Ouch! Really. That's a shame.
Can someone please
>> help me understand the above line of code? What does $#
2009/11/25 kusuma ramaswamy :
> Hello, I am new to perl. I would like to know how to toggle a variable with
> each iteration in a loop ??
Hi,
I'm not entirely sure that I understand your requirements but this
might get you started.
You want to scope your variables with the keyword `my`, so
#!/p
Steve Bertrand wrote:
> Hi all,
>
> I just upgraded from perl 5.8 to perl 5.10.1. Everything went well,
> except for a single module that I need.
>
> The offending code is this:
>
> ${$self->{__pb_template_list}}[...@{$self->{__PB__TEMPLATE_LIST}}}]->param(
> $param, $value );
>
> As I understa
Hello, I am new to perl. I would like to know how to toggle a variable with
each iteration in a loop ??
Regards,
suma
> "MG" == Mark Galeck writes:
MG> If I can do this:
MG> $ref = \...@foobar;
MG> print @$ref;
MG> then why can't I do this:
MG> print @\...@foobar;
you can. but why do you want that? the answer is you need to use {}
around the reference. you can only use a plain sigil before a sca
Hi all,
I just upgraded from perl 5.8 to perl 5.10.1. Everything went well,
except for a single module that I need.
The offending code is this:
${$self->{__pb_template_list}}[...@{$self->{__PB__TEMPLATE_LIST}}}]->param(
$param, $value );
As I understand it, $# has been deprecated in 5.10. Can s
Mark_Galeck wrote:
Hello, I want to write a simple debug-print subroutine, which you
could call like this:
$foobar = "foobar";
dbgPrint foobar;
You could use a source code filter to rewrite
dbgPrint $foobar;
into
dbgPrint('$foobar', $foobar);
So you sub would be like
sub dbgPrint($$) {
Orchid Fairy (兰花仙子) wrote:
> On Wed, Nov 25, 2009 at 11:06 AM, John W. Krahn wrote:
>
>> $ perl -le '$_="aXXXb"; print "one word is $1 at $-[0] to $+[0]" while
>> /(X*)/g;'
>> one word is at 0 to 0
>> one word is XXX at 1 to 4
>> one word is at 4 to 4
>> one word is at 5 to 5
>>
>
> Thanks th
Hello,
I am unable to understand the use of these statements in the program, I have
read about POSIX in the CPAN but still things are not clear to me.
use POSIX ":sys_wait_h"; #What sys_wait_h does?
waitpid($_,&WNOHANG) # what is WNOHANG?
my $message = $object -> receive($id,$length,"IPC_NOWAI
Hi!
I've done a lot of DBD::Oracle programming for over 10 years and never met
a situation where I needed to do that. I can safely say that your program
will be better off for using some sort of while ( ...->fetch ) loop.
I also use DBD::Oracle in one of my projects (ActivePerl 5.10). I get
On Nov 24, 7:06 pm, jwkr...@shaw.ca (John W. Krahn) wrote:
> ...
> > 1. before the a
> > 2. between the a and b
> > 3. before the b
> > 4. after the b
>
> > The problem is that the third one should not be there.
>
> Yes it should. Perhaps you are confused because pos() reports the
> current positi
Orchid Fairy (兰花仙子) wrote:
> On Wed, Nov 25, 2009 at 11:06 AM, John W. Krahn wrote:
>
>
>> $ perl -le '$_="aXXXb"; print "one word is $1 at $-[0] to $+[0]" while
>> /(X*)/g;'
>> one word is at 0 to 0
>> one word is XXX at 1 to 4
>> one word is at 4 to 4
>> one word is at 5 to 5
>>
>>
>
If I can do this:
$ref = \...@foobar;
print @$ref;
then why can't I do this:
print @\...@foobar;
Thank you for your help! Mark
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
M. E8. H. wrote:
This is an minor topic. I feel the Camel logo to represent Perl to be strange,
illogical and slightly ugly.
The ways of project logos are strange and mysterious.
For example, earlier this year i wrote the software for a system called
the "Rapid Booking System" (never had a
22 matches
Mail list logo