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

[ID 20001130.012] Can't do '\'?

Thread Next
From:
WWW server user
Date:
November 30, 2000 13:11
Subject:
[ID 20001130.012] Can't do '\'?
Message ID:
200011302111.QAA29960@titan.lhsc.on.ca
This is a bug report for perl from www@piranha.lhsc.on.ca,
generated with the help of perlbug 1.26 running under perl 5.00503.


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


A _very_ simple perl program:

   print '\';

causes
   "Can't find string terminator "'" anywhere before EOF at blah line 1."

(test program saved as "blah")

Could it be related to the fact that "'" used to be (?) synonymous with "::"
in package names?

...Steve van der Burg
steve.vanderburg@lhsc.on.ca

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00503:

Configured by www at Fri Sep 17 14:19:33 EDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos titan 5.7 generic sun4u sparc sunw,ultra-250 '
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O -native', gccversion=
    cppflags='-I/opt/include'
    ccflags ='-I/opt/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-L/opt/lib'
    libpth=/opt/lib /lib /usr/lib /usr/ccs/lib
    libs=-lgdbm -lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/opt/lib'

Locally applied patches:
    

---
@INC for perl 5.00503:
    /opt/lib/perl5/5.00503/sun4-solaris
    /opt/lib/perl5/5.00503
    /opt/lib/perl5/site_perl/5.005/sun4-solaris
    /opt/lib/perl5/site_perl/5.005
    .

---
Environment for perl 5.00503:
    HOME=/home/www
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/opt/SUNWspro/lib:/opt/lib:/usr/ccs/lib:/usr/lib
    LOGDIR (unset)
    PATH=/usr/proc/bin:/www/apache/bin:/opt/bin:/opt/bin/netpbm:/opt/SUNWspro/bin:/usr/bin:.:/usr/ccs/bin
    PERL_BADLANG (unset)
    SHELL=/bin/csh


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