Front page | perl.perl5.porters |
Postings from April 2001
[ID 20010425.010] use re "debug" not debugging
Thread Next
From:
Leon Brocard
Date:
April 25, 2001 16:16
Subject:
[ID 20010425.010] use re "debug" not debugging
Message ID:
E14sYXy-0002x8-00@ns0.astray.com
This is a bug report for perl from acme@astray.com,
generated with the help of perlbug 1.33 running under perl v5.7.1.
-----------------------------------------------------------------
[Please enter your report here]
ext/re/re.pm 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]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
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:
Platform:
osname=linux, osvers=2.2.14, archname=i586-linux
uname='linux ns0.astray.com 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
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
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/libc-2.1.2.so, 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:
DEVEL9840
---
@INC for perl v5.7.1:
/home/acme/perlcurrent/lib/5.7.1/i586-linux
/home/acme/perlcurrent/lib/5.7.1
/home/acme/perlcurrent/lib/site_perl/5.7.1/i586-linux
/home/acme/perlcurrent/lib/site_perl/5.7.1
/home/acme/perlcurrent/lib/site_perl
.
---
Environment for perl v5.7.1:
HOME=/home/acme
LANG=en_US
LANGUAGE (unset)
LC_ALL=en_US
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/home/acme/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20010425.010] use re "debug" not debugging
by Leon Brocard