develooper Front page | perl.perl5.porters | Postings from April 2001

[ID 20010425.010] use re "debug" not debugging

Thread Next
Leon Brocard
April 25, 2001 16:16
[ID 20010425.010] use re "debug" not debugging
Message ID:

This is a bug report for perl from,
generated with the help of perlbug 1.33 running under perl v5.7.1.

[Please enter your report here]

ext/re/ says:

  When C<use re 'debug'> is in effect, perl emits debugging messages when
  compiling and using regular expressions.  

Under old perls this is true. eg 5.6.0:
[acme@tigger re]$ perl -e 'use re "debug"; qr/^foo$/'
Compiling REx `^foo$'
size 5 first at 2
   1: BOL(2)
   2: EXACT <foo>(4)
   4: EOL(5)
   5: END(0)
anchored `foo'$ at 0 (checking anchored) anchored(BOL) minlen 3 
Freeing REx: `^foo$'

However, for perl-current synced 20 mins ago gives nothing:
[acme@tigger re]$ perl5.7.1 -e 'use re "debug"; qr/^foo$/'

I don't have enough tuits to figure out why this is the case (or what
has changed), but it would be really nice if the old, documented
behaviour came back so I could draw some more pretty graphs ;-)

[Please do not change anything below this line]
Site configuration information for perl v5.7.1:

Configured by acme at Wed Apr 25 23:51:07 BST 2001.

Summary of my perl5 (revision 5.0 version 7 subversion 1) configuration:
    osname=linux, osvers=2.2.14, archname=i586-linux
    uname='linux 2.2.14 #2 tue mar 7 12:20:23 gmt 2000 i586 unknown '
    config_args='-ds -e -Dusedevel -Dprefix=/home/acme/perlcurrent'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt -liconv -lutil
    perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -liconv -lutil
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:

@INC for perl v5.7.1:

Environment for perl v5.7.1:
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About