[svn:perlfaq] r9576 - perlfaq/trunk
[email protected] Sat, 19 May 2007 09:58:07 -0700 (PDT)
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
Author: comdog Date: Sat May 19 09:58:05 2007 New Revision: 9576 Modified: perlfaq/trunk/perlfaq5.pod Log: * perlfaq5: How do I close a file descriptor by number? + fixed error in interior sequence Cclose> --> C<close> Modified: perlfaq/trunk/perlfaq5.pod ============================================================================== --- perlfaq/trunk/perlfaq5.pod (original) +++ perlfaq/trunk/perlfaq5.pod Sat May 19 09:58:05 2007 @@ -1178,9 +1178,9 @@ POSIX::close( $fd ); -This should rarely be necessary, as the Perl Cclose()> function is to be +This should rarely be necessary, as the Perl C<close()> function is to be used for things that Perl opened itself, even if it was a dup of a -numeric descriptor as with MHCONTEXT above. But if you really have +numeric descriptor as with C<MHCONTEXT> above. But if you really have to, you may be able to do this: require 'sys/syscall.ph';