On Fri, 6 Dec 2002, Terry Carroll wrote:

> 2) Is the requirement on the scope of the variable documented anywhere?  I
> did try to find something on this before posting, and couldn't.

Well, I'm a dumb-ass.  I checked the FAQ and all through the Camel book,
but never checked the authoritative source, the perlfunc manpage, which
states:

   If EXPR is omitted, the scalar variable of the same name as the
   FILEHANDLE contains the filename. (Note that lexical variables--those
   declared with my--will not work for this purpose; so if you're using
   my, specify EXPR in your call to open.)


-- 
Terry Carroll        |
Santa Clara, CA      |   "The parties are advised to chill."
[EMAIL PROTECTED]      |       - Mattel, Inc. v. MCA Records, Inc.,
Modell delendus est  |         no. 98-56577 (9th Cir. July 24, 2002)

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to