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

[ID 20010130.009] block comment

From:
titmas
Date:
January 30, 2001 10:37
Subject:
[ID 20010130.009] block comment
Message ID:
200101301836.LAA27909@valhalla.sps.mot.com
This is a bug report for perl from titmas@postal.sps.mot.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.


-----------------------------------------------------------------
[Please enter your report here]
block comments are turned off when the commented field
contains
  #!/usr/local/bin/perl

Here is an example:

#!/usr/local/bin/perl
use strict;
print ("Hello World\n");
=block comment
#!/usr/local/bin/perl
$junk = 0;
$j2 = 0;
=cut

If you take out the 2nd #! line it works fine.

This happened when I tried to merge 2 scripts - I 
read in the 2nd file into the 1st file and put a 
block comment around the 2nd files code.


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=utilities
    severity=low
---
Site configuration information for perl v5.6.0:

Configured by cgehman at Mon Jun 19 16:10:05 MST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos pmcsun17 5.7 generic_106541-08 sun4u sparc sunw,ultra-1 '
    config_args='-ds -e -Dprefix=/tools/perl/5.6.0 -Dcc='gcc''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    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
    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 =' -L/usr/local/lib '
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
    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.0:
    /tools/perl/5.6.0/lib/5.6.0/sun4-solaris
    /tools/perl/5.6.0/lib/5.6.0
    /tools/perl/5.6.0/lib/site_perl/5.6.0/sun4-solaris
    /tools/perl/5.6.0/lib/site_perl/5.6.0
    /tools/perl/5.6.0/lib/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/home/titmas
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/usr/openwin/lib:/usr/dt/lib:/tools/cadence/ic442/tools.sun4v/lib:/tools/clearcase/v3.2.1/sun5/shlib:/home/titmas/entice_latest/entice/lib.solaris
    LOGDIR (unset)
    PATH=.:/home/titmas/bin:/home/titmas/perl:/home/swe1/sun55/bin:/home/titmas/solaris/bin:/usr/local/bin:/tools/sunwspro/4.2/SUNWspro/bin:/usr/ccs/bin:/bin:/usr/bin:/home/swe2/bin:/usr/openwin/bin:/tools/cadence/ic442/tools/dfII/bin:/tools/cadence/ic442/tools/bin:/usr/ucb:/opt/lotus/bin:/home/titmas/notesr4:/tools/clearcase/v3.2.1/sun5/bin:/vobs/tomahawk/Scripts:/tools/SCA/paradise/v5.0/sun4-5.5/bin:/vobs/memcomp/bin:/vobs/memcomp/com:/tools/cascade/cascade-3.2.2/bin:/tools/cadence/9502/tools/dracula/bin:/tools/condor/default/bin:/tools/epic/5.2/bin:/usr/local/bin:/home/titmas/entice_latest/entice/bin.solaris:/home/genesys/release/genesys.v6_2/bin.solaris:/home/enclient/enclient.v6_2/bin.solaris:/home/titmas/entice_latest/entice/Liberty.tools/scripts:/tools/synopsys/1999.10/sparcOS5/syn/bin:/tools/ddts/default/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh




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