diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-08 18:29:02 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-08 18:29:02 +0000 |
commit | 8a4f6ac230f3943b15bcb439d434cc52e5da1bc3 (patch) | |
tree | 8aeb8e2cf089fe3975d9c88cb90e8cfc916f593e /pod | |
parent | e8347627432a616ec1485de221b2cd8c9e311c8b (diff) | |
download | perl-8a4f6ac230f3943b15bcb439d434cc52e5da1bc3.tar.gz |
documentation tweaks from M. J. T. Guy, Micheal Schwern, and
Tim Meadowcroft
p4raw-id: //depot/perl@4666
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlipc.pod | 4 | ||||
-rw-r--r-- | pod/perlre.pod | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/pod/perlipc.pod b/pod/perlipc.pod index e687304510..3034197e14 100644 --- a/pod/perlipc.pod +++ b/pod/perlipc.pod @@ -152,6 +152,10 @@ Here's an example: }; if ($@ and $@ !~ /alarm clock restart/) { die } +If the operation being timed out is system() or qx(), this technique +is liable to generate zombies. If this matters to you, you'll +need to do your own fork() and exec(), and kill the errant child process. + For more complex signal handling, you might see the standard POSIX module. Lamentably, this is almost entirely undocumented, but the F<t/lib/posix.t> file from the Perl source distribution has some diff --git a/pod/perlre.pod b/pod/perlre.pod index 1610254da5..9c88a0bd4c 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -936,8 +936,10 @@ in C<[]>, which will match any one character from the list. If the first character after the "[" is "^", the class matches any character not in the list. Within a list, the "-" character specifies a range, so that C<a-z> represents all characters between "a" and "z", -inclusive. If you want "-" itself to be a member of a class, put it -at the start or end of the list, or escape it with a backslash. (The +inclusive. If you want either "-" or "]" itself to be a member of a +class, put it at the start of the list (possibly after a "^"), or +escape it with a backslash. "-" is also taken literally when it is +at the end of the list, just before the closing "]". (The following all specify the same class of three characters: C<[-az]>, C<[az-]>, and C<[a\-z]>. All are different from C<[a-z]>, which specifies a class containing twenty-six characters.) |