home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / perl / 7080 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.0 KB

  1. Path: sparky!uunet!news.mentorg.com!sdl!not-for-mail
  2. From: tal@Warren.MENTORG.COM (Tom Limoncelli)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: How to output % symbol in perl
  5. Date: 20 Nov 1992 17:10:33 -0500
  6. Organization: Mentor Graphics -- IC Group
  7. Lines: 22
  8. Distribution: usa
  9. Message-ID: <1ejnopINN67r@milk.Warren.MENTORG.COM>
  10. References: <1992Nov19.004813.16052@leland.Stanford.EDU> <69857@cup.portal.com> <MEISSNER.92Nov20150830@curley.osf.org>
  11. NNTP-Posting-Host: milk.warren.mentorg.com
  12.  
  13. In <MEISSNER.92Nov20150830@curley.osf.org> meissner@osf.org (Michael Meissner) writes:
  14.  
  15. >Though of course:
  16.  
  17. >    print "%A Latex Picture.\n";
  18.  
  19. >will NOT print what is intended, since perl will expand the %A array
  20. >into a string.
  21.  
  22. What version of Perl are you using?
  23.  
  24. DB<6> $A{'bar'} = 'foo';
  25.  
  26. DB<7>         print "%A Latex Picture.\n";
  27. %A Latex Picture.
  28.  
  29.  
  30. Tom
  31. -- 
  32. Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.uucp (play)
  33. Reality is stranger than fiction #943247:  The IRS granted
  34. ANS approval as a 501c3 "charity" on September 14, 1992.
  35.