develooper Front page | perl.perl5.porters | Postings from August 2001

[ID 20010802.073] misleading $! values

Thread Next
From:
edwardp
Date:
August 2, 2001 22:26
Subject:
[ID 20010802.073] misleading $! values
Message ID:
200108030526.WAA23429@sun533.corp.home.net
This is a bug report for perl from edwardp@sun533.corp.home.net,
generated with the help of perlbug 1.33 running under perl v5.6.1.


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

$! is being populated with some misleading values. Try the following program:

`pwd`;
print $!;

(prints Illegal seek)

Unless of course, the `` operator is broken, and is somehow causing the error.. 


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

Configured by edwardp at Thu Aug  2 18:42:10 PDT 2001.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos sun533.corp.home.net 5.6 generic_105181-23 sun4u sparc sunw,ultra-5_10 '
    config_args='-ds -e -Dprefix=/home/edwardp/install_p561 -Dcc=gcc -Ubincompat5005 -Uuselargefiles'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    optimize='-O',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.6'
    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=4
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.6.1:
    /home/edwardp/install_p561/lib/perl5/5.6.1/sun4-solaris
    /home/edwardp/install_p561/lib/perl5/5.6.1
    /home/edwardp/install_p561/lib/perl5/site_perl/5.6.1/sun4-solaris
    /home/edwardp/install_p561/lib/perl5/site_perl/5.6.1
    /home/edwardp/install_p561/lib/perl5/site_perl
    .

---
Environment for perl v5.6.1:
    HOME=/home/edwardp
    LANG=en_US
    LANGUAGE (unset)
    LC_COLLATE=en_US
    LC_CTYPE=en_US
    LC_MESSAGES=C
    LC_MONETARY=en_US
    LC_NUMERIC=en_US
    LC_TIME=en_US
    LD_LIBRARY_PATH=/home/edwardp/install/lib
    LOGDIR (unset)
    PATH=/home/edwardp/install_p561/bin/:/depot/java/jdk1.2.2/bin:/home/edwardp/install/bin:/usr/ccs/bin:/depot/java/jdk1.2.2/bin:/home/edwardp/install/bin:/usr/ccs/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/depot/kde/1.1.2/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/ucb/bin:/home/edwardp/bin:/usr/sbin:/usr/etc:/usr/local/bin:/usr/ucb:/usr/ccs/bin:/usr/openwin/bin:/usr/lib/lp/postscript:/depot/bin:/home/kovacsb/bin:/usr/bin:/usr/sbin:/usr/etc:/usr/local/bin:/usr/ucb:/usr/ccs/bin:/usr/openwin/bin:/usr/lib/lp/postscript:/depot/bin:/home/kovacsb/bin:/usr/bin
    PERL_BADLANG (unset)
    SHELL=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