Trouble with readline in cpan, perl debug on Mac OS X

From: boyd (
Date: 09/09/04

  • Next message: A Ymous: "Query about Spreadsheet::WriteExcel"
    Date: Thu, 09 Sep 2004 17:49:10 -0400

    I have reinstalled cpan, and the readline libraries, but even though
    cpan says readline is enabled, it doesn't work right. Also the perl
    debugger has a similar problem. Could it be that the Perl that is
    installed from the Apple site is not readline enabled? Below is the
    perl -V output. Thanks for any help you can give me.

    Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
         osname=darwin, osvers=5.5, archname=darwin
         uname='darwin mercury 5.5 darwin kernel version 5.5: thu may 30
    14:51:26 pdt 2002; root:xnuxnu-201.42.3.obj~1release_ppc power macintosh
    powerpc '
         hint=recommended, useposix=true, d_sigaction=define
         usethreads=undef use5005threads=undef useithreads=undef
         useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
         use64bitint=undef use64bitall=undef uselongdouble=undef
         usemymalloc=n, bincompat5005=undef
         cc='cc', ccflags ='-pipe -fno-common -no-cpp-precomp
         cppflags='-no-cpp-precomp -pipe -fno-common -no-cpp-precomp
         ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
         intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
         d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
         ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
         alignbytes=8, prototype=define
      Linker and Libraries:
         ld='cc', ldflags =' -flat_namespace'
         libs=-lm -lc
         perllibs=-lm -lc
         libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
       Dynamic Linking:
         dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
         cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined

    Characteristics of this binary (from libperl):
       Compile-time options: USE_LARGE_FILES
       Built under darwin
       Compiled at Jul 19 2002 18:12:13

  • Next message: A Ymous: "Query about Spreadsheet::WriteExcel"

    Relevant Pages

    • Error checking on File I/O
      ... a readline means EOF _or_ error. ... Assuming I haven't missed something, if there are any Perl historians, ... language lawyers or source code gurus out there, I'd like to know why it's ...
    • Signal Handling/Term::ReadLine problem in Perl
      ... readline() function. ... it is immediately called ) when I hit ... Likewise in Perl, if I am reading in a whileloop from ... on CTRL-C being struck. ...
    • Re: term::readline, need to change default prompt char props
      ... characteristics of the string I ask the "readline" method to use as a ... For me, a single arrow suffices to switch, but it takes two ... affect history items added before the input loop is begun. ... Stonehenge Perl Training ...
    • Re: Cant find syntax error
      ... and it put me in an endless loop:). ... The (readline) operator is required to read a line from the filehandle $fh ... use Perl; ...