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

[ID 20000318.001] s2p does not produce compilable Perl code

From:
Michael Wang
Date:
March 18, 2000 05:25
Subject:
[ID 20000318.001] s2p does not produce compilable Perl code
Message ID:
200003181325.IAA06130@julie.unixlabplus.com

This is a bug report for perl from mwang@mindspring.com,
generated with the help of perlbug 1.26 running under perl 5.00503.


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

[julie:/opt/home/mwang/Build]echo "s/a/b/"
s/a/b/
[julie:/opt/home/mwang/Build]echo "s/a/b/" | s2p -n
#!/usr/local/bin/perl
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
        if $running_under_some_shell;


$\ = "\n";              # automatically add newline on print

LINE:
while (<>) {
    chop;
    s/a/b/;



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

---
Site configuration information for perl 5.00503:

Configured by mwang at Thu Mar 16 06:29:47 EST 2000.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=i86pc-solaris
    uname='sunos julie 5.7 generic_106542-05 i86pc i386 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc -B/usr/ccs/bin/', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-I/usr/local/include -I/opt/local/include'
    ccflags ='-I/usr/local/include -I/opt/local/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=12
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /shlib /lib /usr/lib /usr/ccs/lib
    libs=-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='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib'

Locally applied patches:
    

---
@INC for perl 5.00503:
    /usr/local/lib/perl5/5.00503/i86pc-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i86pc-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .

---
Environment for perl 5.00503:
    HOME=/opt/home/mwang
    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=/usr/lib:/usr/openwin/lib
    LOGDIR (unset)
    PATH=/opt/home/mwang/bin:/usr/local/teTeX/bin/i386-pc-solaris2.7:/usr/local/bin:/opt/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/proc/bin:/usr/lib/nis
    PERL_BADLANG (unset)
    SHELL=/bin/ksh



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