home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!wupost!darwin.sura.net!convex!tchrist
- From: tchrist@convex.COM (Tom Christiansen)
- Newsgroups: comp.lang.perl
- Subject: Re: Print difference between 4.019 and 4.035
- Message-ID: <1992Jul30.151404.10417@convex.com>
- Date: 30 Jul 92 15:14:04 GMT
- Article-I.D.: convex.1992Jul30.151404.10417
- References: <1992Jul30.115500.22617@uvaarpa.Virginia.EDU>
- Sender: usenet@convex.com (news access account)
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- Organization: CONVEX Realtime Development, Colorado Springs, CO
- Lines: 26
- Originator: tchrist@convex.convex.com
- Nntp-Posting-Host: convex.convex.com
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
-
- From the keyboard of gaspar@stepsun.army.mil:
- : print '-' x 80."\n";
- :
- :Under 4.035 I got the following error messages:
- :
- : syntax error in file /usr/local/bin/logpipe2.pl at line 26, next 2
- : tokens "80."\n\n""
- :
- :I fixed the problem by changing the offending lines to:
- : print ('-' x 80)."\n";
-
- Perl is being confused about whether you're talking about the
- number "80." (as in 80.0) or the concat operator. That's why
-
- 1 + 80 . 1
- and
- 1+80.1
-
- are very different.
-
- --tom
- --
- "GUIs normally make it simple to accomplish simple actions and impossible
- to accomplish complex actions." --Doug Gwyn (22/Jun/91 in comp.unix.wizards)
-
- Tom Christiansen tchrist@convex.com convex!tchrist
-