home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 5021 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.5 KB

  1. Path: sparky!uunet!olivea!apple!constellation!convex!tchrist
  2. From: tchrist@convex.COM (Tom Christiansen)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: kosher?
  5. Message-ID: <1992Jul29.193125.19094@news.eng.convex.com>
  6. Date: 29 Jul 92 19:31:25 GMT
  7. References: <ROBT.92Jul29134230@idt101.is.morgan.com>
  8. Sender: usenet@news.eng.convex.com (news access account)
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. Distribution: comp.lang.perl
  11. Organization: CONVEX Realtime Development, Colorado Springs, CO
  12. Lines: 28
  13. Originator: tchrist@pixel.convex.com
  14. Nntp-Posting-Host: pixel.convex.com
  15. X-Disclaimer: This message was written by a user at CONVEX Computer
  16.               Corp. The opinions expressed are those of the user and
  17.               not necessarily those of CONVEX.
  18.  
  19. From the keyboard of robt@is.morgan.com (Rob Torop):
  20. :I recently discovered that rather than using
  21. :
  22. :    $a{'blah'} = 'bleh';
  23. :
  24. :I can get away with
  25. :
  26. :    $a{blah} = 'bleh';
  27. :
  28. :i.e. it seems to have exactly the same effect.  Is there any reason I
  29. :shouldn't do this?
  30.  
  31. Or even 
  32.  
  33.      $a{blah} = bleh;
  34.  
  35. The problem is that Larry might make blah or bleh reserved words.
  36.  
  37. I'm not very fond of autoquoted strings, personally, but I use
  38. them in throw-away programs.  It's safer if they're not all
  39. lower-case, but still Unclean.
  40.  
  41. --tom
  42. -- 
  43.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  44.     You know, by the time you get some with all this, the "Swiss Army
  45.     Chainsaw" is going to be more like a Swiss Army Tactical Nuke....  :-)
  46.         --Brandon Allbery on perl in <1991Feb21.002412.20045@NCoast.ORG>
  47.