home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 5035 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.2 KB  |  44 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!caen!uvaarpa!mmdf
  3. From: Al Gaspar <gaspar@stepsun.army.mil>
  4. Subject: Print difference between 4.019 and 4.035
  5. Message-ID: <1992Jul30.115500.22617@uvaarpa.Virginia.EDU>
  6. Sender: mmdf@uvaarpa.Virginia.EDU (Mail System)
  7. Reply-To: gaspar@stepsun.army.mil
  8. Organization: The Internet
  9. Date: Thu, 30 Jul 1992 11:55:00 GMT
  10. Lines: 32
  11.  
  12.  
  13.     I posted a message about this earlier; but I think my mailer sent it to the
  14. ozone...  I had a script running properly under 4.019 with two lines similar to
  15. the following:
  16.  
  17.     print '-' x 80."\n";
  18.  
  19. Under 4.035 I got the following error messages:
  20.  
  21.     syntax error in file /usr/local/bin/logpipe2.pl at line 26, next 2
  22.       tokens "80."\n\n""
  23.     syntax error in file /usr/local/bin/logpipe2.pl at line 29, next 2
  24.       tokens "80."\n""
  25.     Execution of /usr/local/bin/logpipe2.pl aborted due to compilation
  26.       errors.
  27.  
  28. I fixed the problem by changing the offending lines to:
  29.  
  30.     print ('-' x 80)."\n";
  31.  
  32.     I thought someone might be interested in this minor difference.
  33.  
  34. Cheers--
  35.  
  36. Al
  37.  
  38.     
  39. -- 
  40. Al Gaspar    <gaspar@st-louis-emh2.army.mil>
  41. USAMC SIMA, ATTN:  AMXSI-TTC, 1222 Spruce St., St. Louis, MO  63103-2834
  42. COMMERCIAL:  (314) 331-4354    AUTOVON:  555-4354
  43. relay1.uu.net!st-louis-emh2.army.mil!gaspar
  44.