From: Jarkko Hietaniemi Date: Wed, 28 Jun 2000 15:01:38 +0000 (+0000) Subject: Document #6249 and #6251. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0e4dedf1581344244dfa297db1d00c01c5f821aa;p=p5sagit%2Fp5-mst-13.2.git Document #6249 and #6251. p4raw-id: //depot/cfgperl@6252 --- diff --git a/lib/Exporter.pm b/lib/Exporter.pm index 95076f8..9a4382f 100644 --- a/lib/Exporter.pm +++ b/lib/Exporter.pm @@ -209,6 +209,15 @@ You can say C to see how the specifications are being processed and what is actually being imported into modules. +=head2 Constants can be inlined + +AUTOLOADed constants can be inlined by prefixing them with a C<+>: + + use Socket qw(+AF_INET); + +Thusly prefixed constants are defined during the symbol import phase of +compilation, which means that by runtime they are true inlined constants. + =head2 Exporting without using Export's import method Exporter has a special method, 'export_to_level' which is used in situations diff --git a/lib/IPC/Open3.pm b/lib/IPC/Open3.pm index 6d91c81..facf39c 100644 --- a/lib/IPC/Open3.pm +++ b/lib/IPC/Open3.pm @@ -44,6 +44,9 @@ by an autogenerated filehandle. If so, you must pass a valid lvalue in the parameter slot so it can be overwritten in the caller, or an exception will be raised. +The filehandles may also be integers, in which case they are understood +as file descriptors. + open3() returns the process ID of the child process. It doesn't return on failure: it just raises an exception matching C. However, C failures in the child are not detected. You'll have to