home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7544 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!usc!news.cerf.net!netlabs!lwall
  3. From: lwall@netlabs.com (Larry Wall)
  4. Subject: Re: switching off symtabs via %_foo assignments?
  5. Message-ID: <1992Dec19.021945.2236@netlabs.com>
  6. Sender: news@netlabs.com
  7. Nntp-Posting-Host: scalpel.netlabs.com
  8. Organization: NetLabs, Inc.
  9. References: <18160@autodesk.COM>
  10. Date: Sat, 19 Dec 1992 02:19:45 GMT
  11. Lines: 15
  12.  
  13. In article <18160@autodesk.COM> dansmith@Autodesk.COM (Daniel Smith) writes:
  14. :     I'm wondering if it's "safe" to swap "%_some_package" around.
  15.  
  16. Well, I don't know about safety, but it's not gonna do what you want,
  17. since symbol table references are resolved at compile time.  I.e. the
  18. only way to get around it is with eval, and then you might as well
  19. generate new package names.
  20.  
  21. If you want threads, you're really going to have to wait until sometime
  22. after 5.0 comes out.  5.0 will have support for multiple interpreters
  23. in a process, but won't likely have support for multiple threads in the
  24. same interpreter, at least not in the first release.  It wouldn't be too
  25. terrible difficult to add, but I just don't have that many round tuits.
  26.  
  27. Larry
  28.