develooper Front page | perl.perl5.porters | Postings from February 2000

[ID 20000222.016] perl needs logical xor

Thread Next
Matthew R. Sheahan
February 22, 2000 21:47
[ID 20000222.016] perl needs logical xor
Message ID:

This is a bug report for perl from,
generated with the help of perlbug 1.19 running under perl 5.00503.

[Please enter your report here]

'foo' ^ '' gives a true value ('foo', to be precise).  Because the
bitwise operators are overloaded with magical behavior for strings,
Perl needs a logical XOR operator, ^^, so cases like this can be made
to work without rigamarole.

[Please do not change anything below this line]

Site configuration information for perl 5.00503:

Configured by chaos at Wed Jun  2 16:54:30 EDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    osname=bsdos, osvers=4.0.1, archname=i386-bsdos
    uname='bsdos 4.0.1 bsdi bsdos 4.0.1 kernel #1: wed jun 2 14:00:26 edt 1999 i386 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-O7', gccversion=
    ccflags =''
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =''
    libpth=/usr/local/lib /usr/shlib /shlib /usr/lib /usr/X11/lib
    libs=-ldl -lm
    libc=/shlib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-shared -x '

@INC for perl 5.00503:

Environment for perl 5.00503:
    LANG (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About