[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[ID 20000111.008] use strict 'vars'




This is a bug report for perl from ccadieux@central.sun.com,
generated with the help of perlbug 1.13 running under perl 5.003.

[Please enter your report here]
use strict 'vars' seems to ignore the variables '$a' and '$b'. It works
fine for '$c', '$d' ...

#/usr/bin/perl
use strict 'vars';

$a = 2;

# this code should not work but does.



Site configuration information for perl 5.003:

Configured by eric at Mon Sep 16 15:29:50 PDT 1996.

Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5.1, archname=sun4-solaris
    uname='sunos m-e-ir1 5.5.1 generic sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags=''
    ccflags =''
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G'


Follow-Ups from:
Ronald J Kimball <rjk@linguist.dartmouth.edu>
Tom Christiansen <tchrist@jhereg.perl.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]