Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second attempt at bug report -- first one bounced #1048

Closed
p5pRT opened this issue Jan 18, 2000 · 2 comments
Closed

Second attempt at bug report -- first one bounced #1048

p5pRT opened this issue Jan 18, 2000 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 18, 2000

Migrated from rt.perl.org#1999 (status was 'resolved')

Searchable as RT1999$

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2000

From petersonp@genrad.com

Created by petersonp@genrad.com

Given the following simple test​:
  % perl -e '$OS="foo"; print "$ OS,$OS\n"'
  foo,foo
I would have expected the output to be '$ OS,foo'

I discovered this when I had a script with a here document containing
the line​:
----
$ OS($treeout) OL($treeout) FLAGFAIL;
---
When it printed out, the "$ OS" was missing. I fixed it, of course, by
backslashing the dollar-sign, and did the above tiny test to understand
how Perl was interpreting this.

Is this a bug? Is there something in TFM that I should R to understand
this behavior? Note that either 'print $ VAR' or 'print "$ VAR"' act
this way. 'print % VAR' and 'print @​ VAR' are similar whereas
'print "% VAR"' and 'print "@​ VAR"' interpret the @​/% literally.

pete peterson
petersonp@​genrad.com
rep@​genrad.com
978-589-7478

Perl Info


Site configuration information for perl 5.00503:

Configured by root at Mon Aug 30 23:08:56 EDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2 09:11:51 ed
t 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 
release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    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='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00503:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl/5.005
    .


Environment for perl 5.00503:
    HOME=/home/rep
    LANG=en_US
    LANGUAGE (unset)
    LC_ALL=en_US
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/rep/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

--QAA03812.947711607/genrad.com--


**********************************************************************
This is the info from the prior attempt that bounced from perl.com
**********************************************************************

From MAILER-DAEMON  Wed Jan 12 16:13:27 2000
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
        by genrad.com (8.9.3/8.9.3) with internal id QAA03812;
        Wed, 12 Jan 2000 16:13:27 -0500
Date: Wed, 12 Jan 2000 16:13:27 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200001122113.QAA03812@genrad.com>
To: rep
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="QAA03812.947711607/genrad.com"
Subject: Returned mail: User unknown
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--QAA03812.947711607/genrad.com

The original message was received at Wed, 12 Jan 2000 12:53:11 -0500
from rep@localhost

   ----- The following addresses had permanent fatal errors -----
perlbug@perl.com

   ----- Transcript of session follows -----
... while talking to mail.perl.com.:
>>> RCPT To:<perlbug@perl.com>
<<< 550 <perlbug@perl.com>... User unknown
550 perlbug@perl.com... User unknown

--QAA03812.947711607/genrad.com
Content-Type: message/delivery-status

Reporting-MTA: dns; genrad.com
Arrival-Date: Wed, 12 Jan 2000 12:53:11 -0500

Final-Recipient: RFC822; perlbug@perl.com
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mail.perl.com
Diagnostic-Code: SMTP; 550 <perlbug@perl.com>... User unknown
Last-Attempt-Date: Wed, 12 Jan 2000 16:13:26 -0500

--QAA03812.947711607/genrad.com
Content-Type: message/rfc822

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2000

From [Unknown Contact. See original ticket]

Perl thinks "$ VARIABLE" is "$VARIABLE"

Initial report bounced at perl.com -- bounce messages appended to end.

Hm....

From MAILER-DAEMON Wed Jan 12 16​:13​:27 2000
Return-Path​: <MAILER-DAEMON>
Received​: from localhost (localhost)
by genrad.com (8.9.3/8.9.3) with internal id QAA03812;
Wed, 12 Jan 2000 16​:13​:27 -0500
Date​: Wed, 12 Jan 2000 16​:13​:27 -0500
From​: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id​: <200001122113.QAA03812@​genrad.com>
To​: rep
MIME-Version​: 1.0
Content-Type​: multipart/report; report-type=delivery-status;
boundary="QAA03812.947711607/genrad.com"
Subject​: Returned mail​: User unknown
Auto-Submitted​: auto-generated (failure)

This is a MIME-encapsulated message

--QAA03812.947711607/genrad.com

The original message was received at Wed, 12 Jan 2000 12​:53​:11 -0500
from rep@​localhost

----- The following addresses had permanent fatal errors -----
perlbug@​perl.com

----- Transcript of session follows -----
... while talking to mail.perl.com.​:

RCPT To​:<perlbug@​perl.com>
<<< 550 <perlbug@​perl.com>... User unknown
550 perlbug@​perl.com... User unknown

--QAA03812.947711607/genrad.com
Content-Type​: message/delivery-status

Reporting-MTA​: dns; genrad.com
Arrival-Date​: Wed, 12 Jan 2000 12​:53​:11 -0500

Final-Recipient​: RFC822; perlbug@​perl.com
Action​: failed
Status​: 5.1.1
Remote-MTA​: DNS; mail.perl.com
Diagnostic-Code​: SMTP; 550 <perlbug@​perl.com>... User unknown
Last-Attempt-Date​: Wed, 12 Jan 2000 16​:13​:26 -0500

--QAA03812.947711607/genrad.com
Content-Type​: message/rfc822

I see a perlbug@​perl.com there​:

  % nslookup -query=mx perl.com | grep exch
  perl.com preference = 0, mail exchanger = mail.perl.com

  % ssh mail.perl.com grep perlbug /etc/aliases
  perlbug​: perlbug@​perl.org
  perlbugs​: perlbug@​perl.org

I don't know why it should have failed. Wait, that was back
when I lost the disk. It wasn't all back up yet.

--tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant