Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

With all the same versions you show above and in your OP, I cannot reproduce your problem. I have a newer version of Perl than you and I'm on a different architecture:

$ perl -V Summary of my perl5 (revision 5 version 14 subversion 2) configuration +: Platform: osname=darwin, osvers=11.3.0, archname=darwin-thread-multi-2level uname='darwin ganymede 11.3.0 darwin kernel version 11.3.0: thu ja +n 12 18:47:41 pst 2012; root:xnu-1699.24.23~1release_x86_64 x86_64 '
config_args='-de -Dprefix=/Users/ken/perl5/perlbrew/perls/perl-5.1 +4.2_WITH_THREADS -Dusethreads' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing +-pipe -fstack-protector -I/usr/local/include -I/opt/local/include', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fs +tack-protector -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.2.1 (Based on Apple Inc. build 5658) ( +LLVM build 2336.1.00)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-prot +ector -L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/u +sr/local/lib -L/opt/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_I +NT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PE +RL_ATOF USE_REENTRANT_API Built under darwin Compiled at Feb 16 2012 16:58:49 %ENV: PERL5LIB="/Users/ken/local/lib/perl" PERLBREW_BASHRC_VERSION="0.30" PERLBREW_HOME="/Users/ken/.perlbrew" PERLBREW_PATH="/Users/ken/perl5/perlbrew/bin:/Users/ken/perl5/perl +brew/perls/perl-5.14.2_WITH_THREADS/bin" PERLBREW_PERL="perl-5.14.2_WITH_THREADS" PERLBREW_ROOT="/Users/ken/perl5/perlbrew" PERLBREW_VERSION="0.30" @INC: /Users/ken/local/lib/perl /Users/ken/perl5/perlbrew/perls/perl-5.14.2_WITH_THREADS/lib/site_ +perl/5.14.2/darwin-thread-multi-2level /Users/ken/perl5/perlbrew/perls/perl-5.14.2_WITH_THREADS/lib/site_ +perl/5.14.2 /Users/ken/perl5/perlbrew/perls/perl-5.14.2_WITH_THREADS/lib/5.14. +2/darwin-thread-multi-2level /Users/ken/perl5/perlbrew/perls/perl-5.14.2_WITH_THREADS/lib/5.14. +2 .

I noticed a discrepancy between versions for HTML::Parser. When you used sudo (above), 3.69 was returned without error:

$ sudo perl -MCPAN -e shell ... HTML::Parser is up to date (3.69).

without sudo (below), 3.55 was returned with an error:

$ perl -MDevel::Modlist -MWWW::Mechanize -e 1 HTML::Parser object version 3.55 does not match bootstrap parameter 3. +69 ...

This sounds like two separate installations of Perl that are not in sync. I see you've added perl -V output below; what does sudo perl -V produce?

-- Ken

In reply to Re^3: Protocol scheme 'http' is not supported by kcott
in thread Protocol scheme 'http' is not supported by ggerke

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [choroba]: ovedpo15 Hard to tell without context. You probalby used $dir outside of its scope, which is the body of the "unless".
    [choroba]: if you use unless as a statement modifier, you can't use the variable declared in the modifier in the statement.

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (6)
    As of 2018-04-22 19:14 GMT
    Find Nodes?
      Voting Booth?