Perl

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
Home » Development Group »» Perl
  • splice question

    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...

    0 answers | 481 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • DBD::ODBC works in perl 5.8.7 but fails in 5.8.8 and above

    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...

    0 answers | 1742 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • DBD::ODBC works in perl 5.8.7 but fails in 5.8.8 and above

    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...

    0 answers | 1445 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • STDOUT

    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...

    0 answers | 3339 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • STDOUT

    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 <...

    0 answers | 2879 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • class interface of roles

    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 ) {...

    29 answers | 1150 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Issues passing around the associative array containing the

    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...

    2 answers | 899 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • DBD::ODBC works in perl 5.8.7 but fails in 5.8.8 and above

    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...

    0 answers | 1698 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • STDOUT

    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)...

    1 answers | 2433 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • pod2man output is hyphenated by groff

    This is fixed in podlators 2.0.5 (on CPAN and in core perl now.)...

    0 answers | 75 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Change 28871: Upgrade to podlators 2.0.5

    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...

    0 answers | 13402 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Patch for win32.c to fix #38723 and #39531

    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...

    0 answers | 1167 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

SPONSORED
QUESTION
SPONSORED
EMSDN