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

my($:) - wrong error message #76

p5pRT opened this issue Jun 17, 1999 · 1 comment

my($:) - wrong error message #76

p5pRT opened this issue Jun 17, 1999 · 1 comment


Copy link

p5pRT commented Jun 17, 1999

Migrated from (status was 'resolved')

Searchable as RT879$

Copy link

p5pRT commented Jun 17, 1999

From @tamias

(I report this with perlbug for 5.004_04, but I have verified the problem
with 5.005_02.)

Perl outputs the wrong error message when the special variable $​: is

% perl -e 'my($​:);'
"my" variable $​: can't be in a package at -e line 1.

It should give the same error message as all the other special variables​:

% perl -e 'my($!);'
Can't use global $- in "my" at -e line 1.

But it outputs the error message for a package variable being lexicalized​:

% perl -e 'my $​::foo'
"my" variable $​::foo can't be in a package at -e line 1.

Site configuration information for perl 5.00404​:

Configured by sting at Fri Jan 9 23​:03​:03 EST 1998.

Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration​:
  osname=irix, osvers=6.3, archname=IP32-irix
  uname='irix linguist 6.3 12161207 ip32 '
  hint=recommended, useposix=true, d_sigaction=define
  bincompat3=y useperlio=undef d_sfio=undef
  cc='cc -n32', optimize='-O3', gccversion=
  cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT​:Olimit=0 -I/usr/local/include -DLANGUAGE_C'
  ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT​:Olimit=0 -I/usr/local/include -DLANGUAGE_C'
  stdchar='unsigned char', d_stdstdio=define, usevfork=false
  voidflags=15, castflags=0, d_casti32=define, d_castneg=define
  intsize=4, alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -L/usr/local/lib -L/usr/lib32 -L/lib32'
  libpth=/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib
  libs=-lgdbm -lm -lc
  libc=/usr/lib32/, so=so
  useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags='-n32 -shared -L/usr/local/lib -L/usr/lib32 -L/lib32'

Locally applied patches​:

@​INC for perl 5.00404​:

Environment for perl 5.00404​:
  LOGDIR (unset)
  PERL_BADLANG (unset)

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

No branches or pull requests

1 participant