And why would this be? Becasue it does not load theentire data set at once or aka one at a time?>If you really need to do this in place due to memory>constraints, I>would advise to run the iteration from back to front,>i.e.>foreach my $indx (reverse 0$#$ref_array) Do You Yahoo!?Ti...
19-Sep-2006 Steve Hay wrote:Martin J. Evans wrote:>19-Sep-2006 Tim Bunce wrote: Tue, Sep 19, 2006 at 02:47:18PM +0100, Martin J. Evans wrote: I never really got to the root of the problem but it appears: in dbdimp.c did a: svGrow(phs->sv, 50+1) but SvLEN(phs->sv) returns 52! DBD::DBC d...
Martin J. Evans wrote:19-Sep-2006 Tim Bunce wrote:>Tue, Sep 19, 2006 at 02:47:18PM +0100, Martin J. Evans wrote: I never really got to the root of the problem but it appears: in dbdimp.c did a: svGrow(phs->sv, 50+1) but SvLEN(phs->sv) returns 52! DBD::DBC does not expect this so the tes...
Actually if the syntax is good the output will contain one line. If there are errors there will be multiple lines. This would work better: my $progname = "whatever.pl"; my @output = `perl -c $progname`; my $syntax_ok = 0; foreach my $line ( @output ) { if ( $line =~ /$progname syntax K/ ) { $syn...
Would something like this (with backticks) work? It's probably not as robust as using 'do BLCK' but it might work. #untested my $progname = "whatever.pl"; my $output = `perl -c $progname`; if ( $output =~ /$progname syntax K/ ) { # It's good } else { # It's bad }URS <...
H,After re-reading about the typing of mixins inI wonder how the example would look like in Perl6.Here is what I think it could look like:role GenEqual{ method equal( : GenEqual $ Bool ) {}}role GenPointMixin{ has Int $.x; has Int $.y; method equal( ::?CLASS GenEqual $self: ::?CLASS $p Bool ) {...
I am writing a function that takes a associative array containing whatis returned by Net::LDAP.I am passing it to the function like thismy %results=mwc_dhcp_host_add({%ldapconnection},$config{ip},$config{mac},$config{baseDN},$config{user});$ldapconnection{ldap} is what is returned by Net::LDAP.m...
Tue, Sep 19, 2006 at 02:47:18PM +0100, Martin J. Evans wrote:Hi,Back in March this year Jonathan Gillespie reported the followingerror in DBD::DBC test suite:Can't change param 1 maxlen (51->50) after first bind at>t/20SqlServer.t line 180.(see @perl.org/msg26946.html).The same versi...
Hi all, I've written a PERL program that runs other PERL programs (through 'require' statements and what not). It worked fine for a couple tasks I had in mind, but there's an obstacle ahead in the next thing I want to use it for. The programs it will execute may (or may not)...
This is fixed in podlators 2.0.5 (on CPAN and in core perl now.)...
Change 28871 by rgs@stencil on 2006/09/19 14:05:48Upgrade to podlators 2.0.5Affected files //depot/perl/MANIFEST#1449 edit //depot/perl/lib/Pod/Man.pm#40 edit //depot/perl/lib/Pod/Text.pm#39 edit //depot/perl/lib/Pod/t/basic.man#4 edit //depot/perl/lib/Pod/t/basic.t#16 edit //#2 edit //depot/per...
demerphq <demerphq (AT) gmail (DOT) comwrote:9/16/06, Andrew Savige <ajsavige (AT) yahoo (DOT) com.auwrote:This patch fixes:* #38723 (Backticks don't work in Win32 multithreaded perl)* #39531 (Perl hangs when when using backticks or popen from a thread onWin32)I've attached two...

