Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd syntax error msg from /Carp/Heavy.pm #2422

Closed
p5pRT opened this issue Aug 22, 2000 · 4 comments
Closed

Odd syntax error msg from /Carp/Heavy.pm #2422

p5pRT opened this issue Aug 22, 2000 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 22, 2000

Migrated from rt.perl.org#3797 (status was 'rejected')

Searchable as RT3797$

@p5pRT
Copy link
Author

p5pRT commented Aug 22, 2000

From bobgus@mcs.com

This problem may be due to my screwing around with an unruly extension (on
prior runs, It would core), but it might be a syntax error in an
infrequently used routine.

BobG

Missing right curly or square bracket at
/usr/local/lib/perl5/5.6.0/Carp/Heavy.p
m line 100, at end of line
syntax error at /usr/local/lib/perl5/5.6.0/Carp/Heavy.pm line 100, at EOF
Compilation failed in require at /usr/local/lib/perl5/5.6.0/Carp.pm line
97, <IN

chunk 11 during global destruction.

[root@​hoho0 perlt]# vi /usr/local/lib/perl5/5.6.0/Carp/Heavy.pm

This is a cut and paste of this section of Heavy.pm - looks OK...

  else {
  s/'/\\'/g;
  # terminate the string early with '...' if too long
  substr($_,$MaxArgLen) = '...'
  if $MaxArgLen and $MaxArgLen < length;
  }
  # 'quote' arg unless it looks like a number
  $_ = "'$_'" unless /^-?[\d.]+$/;


Configuration below

[root@​hoho0 perlt]# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration​:
  Platform​:
  osname=linux, osvers=2.4.0-test2-ac2, archname=i686-linux
  uname='linux hoho0.chidig.com 2.4.0-test2-ac2 #1 tue jun 27 02​:24​:04
cdt 200
0 i686 unknown '
  config_args='-de'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=unde
f
  useperlio=undef d_sfio=undef uselargefiles=define
  use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler​:
  cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)
  cppflags='-fno-strict-aliasing -I/usr/local/include'
  ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_F
ILE_OFFSET_BITS=64'
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  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 -ldl -lm -lc -lposix -lcrypt
  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'

Characteristics of this binary (from libperl)​:
  Compile-time options​: USE_LARGE_FILES
  Built under linux
  Compiled at Jul 7 2000 23​:56​:54
  @​INC​:
  /usr/local/lib/perl5/5.6.0/i686-linux
  /usr/local/lib/perl5/5.6.0
  /usr/local/lib/perl5/site_perl/5.6.0/i686-linux
  /usr/local/lib/perl5/site_perl/5.6.0
  /usr/local/lib/perl5/site_perl
  .
[root@​hoho0 perlt]#

@p5pRT
Copy link
Author

p5pRT commented Jul 16, 2003

From @schwern

5.6.0 was known to have serious issues with regard to Carp​::Heavy. Could you check if
this bug is gone in a newer Perl?

@p5pRT
Copy link
Author

p5pRT commented May 1, 2006

@smpeters - Status changed from 'open' to 'stalled'

@p5pRT
Copy link
Author

p5pRT commented Jun 22, 2008

p5p@spam.wizbit.be - Status changed from 'stalled' to 'rejected'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant