home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7619 < prev    next >
Encoding:
Text File  |  1992-12-29  |  821 b   |  20 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!linus!philabs!acheron!scifi!watson!yktnews!admin!sundare
  3. From: sundare@watson.ibm.com (C. Sundaresan)
  4. Subject: file handle unknown in subroutine
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <1992Dec28.221202.24649@watson.ibm.com>
  7. Date: Mon, 28 Dec 1992 22:12:02 GMT
  8. Distribution: usa
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. Nntp-Posting-Host: fiddler.watson.ibm.com
  11. Organization: IBM T.J. Watson Research Center
  12. Lines: 6
  13.  
  14. I open a file in the main part of the Perl script and writing
  15. to it works fine, but in my subroutines the file handle seems
  16. to be unknown.  Is the scoping for filehandles unlike that of
  17. variables?
  18.  
  19. Chris Sundaresan 
  20.