develooper Front page | perl.perl5.porters | Postings from May 2002

[ID 20020531.009] use strict enhancement

Thread Next
From:
Warren L Dodge
Date:
May 31, 2002 13:17
Subject:
[ID 20020531.009] use strict enhancement
Message ID:
200205312017.g4VKH6703656@rosewood.cse.tek.com

This is a bug report for perl from warrend@tek.com,
generated with the help of perlbug 1.33 running under perl v5.6.1.


-----------------------------------------------------------------
[Please enter your report here]

The use strict in subroutines is real nice at telling me variables
that have not been specified properly.

It doesn't seem to say anything about extra specifications of
variables that are not used in the routine. This makes it harder to
make sure everything is "clean". Generally this happens after you
write the routine and then make changes later. You forget to go remove
the "my $vars".

It would be nice if the compiler would let us know about them.



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=wishlist
---
Site configuration information for perl v5.6.1:

Configured by warrend at Tue Jun 12 16:54:04 PDT 2001.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos rosewood 5.8 generic_108528-03 sun4u sparc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /proj/wdt/gnu_sun5.8/perl-5.6.1/lib/5.6.1/sun4-solaris/CORE'
    cccdlflags='-fPIC', lddlflags='-G'

Locally applied patches:
    

---
@INC for perl v5.6.1:
    /proj/wdt/gnu_sun5.8/perl-5.6.1/lib/5.6.1/sun4-solaris
    /proj/wdt/gnu_sun5.8/perl-5.6.1/lib/5.6.1
    /proj/wdt/gnu_sun5.8/perl-5.6.1/lib/site_perl/5.6.1/sun4-solaris
    /proj/wdt/gnu_sun5.8/perl-5.6.1/lib/site_perl/5.6.1
    /proj/wdt/gnu_sun5.8/perl-5.6.1/lib/site_perl
    .

---
Environment for perl v5.6.1:
    HOME=/login/warrend
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/tools/eda/ldv/bin:/proj/eda/disk4/ldv33qsr2/tools/inca/lib:/proj/eda/disk4/ldv33qsr2/tools/lib:/proj/eda/disk1/LMC_r41/lib/sun4Solaris.lib
    LOGDIR (unset)
    PATH=.:/proj/wdt/bin:/proj/wdt/sun5.8/bin:/proj/wdt/X.V11R6/sun5.8/bin:/login/warrend:/login/warrend/bin:/login/warrend/bin/sun5.8:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/tools/eda/psd142c/tools/pcb/bin:/tools/eda/psd142c/tools/bin:/tools/eda/psd142c/tools/dfII/bin:/tools/eda/psd142c/tools/fet/bin:/tools/eda/psd142c/tools/specctra/bin:/tools/eda/fetools142/bin:/tools/eda/cadtools142/bin:/tools/eda/ldv/LSF:/tools/eda/ldv/bin:/proj/eda/disk4/ldv33qsr2/tools/bin:/proj/eda/disk4/ldv33qsr2/tools/inca/bin:/proj/eda/disk4/ldv33qsr2/tools/dfII/bin:/proj/eda/97Aannex/vera-4.5-solaris2.5/bin:/proj/eda/annex2/debussy_5.2.5/bin:/stdapps/cms/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About