In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/570dedd44da3a23aa548d78e168df662fd35fce8?hp=9da2b86b76a86f6c74ac3520310f512e01c22d8b>
- Log ----------------------------------------------------------------- commit 570dedd44da3a23aa548d78e168df662fd35fce8 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 17:07:03 2011 -0800 perldiag: Suggest use re '/m' for $* M pod/perldiag.pod commit a58ac25e92f5a203cf2a2bbf7dff77aade544833 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 16:57:27 2011 -0800 perldiag: reflow $* and $# M pod/perldiag.pod commit 34b6fd5ef2bb529de70ecade788d8dc58bc68afa Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:52:14 2011 -0800 perldiag: more typos and grammar M pod/perldiag.pod ----------------------------------------------------------------------- Summary of changes: pod/perldiag.pod | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index cd4f975..2a464ec 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2325,34 +2325,36 @@ strange for a machine that supports C. =item ioctl() on unopened %s (W unopened) You tried ioctl() on a filehandle that was never opened. -Check you control flow and number of arguments. +Check your control flow and number of arguments. =item IO layers (like '%s') unavailable (F) Your Perl has not been configured to have PerlIO, and therefore -you cannot use IO layers. To have PerlIO Perl must be configured +you cannot use IO layers. To have PerlIO, Perl must be configured with 'useperlio'. =item IO::Socket::atmark not implemented on this architecture (F) Your machine doesn't implement the sockatmark() functionality, -neither as a system call or an ioctl call (SIOCATMARK). +neither as a system call nor an ioctl call (SIOCATMARK). =item $* is no longer supported -(D deprecated, syntax) The special variable C<$*>, deprecated in older perls, has -been removed as of 5.9.0 and is no longer supported. In previous versions of perl the use of -C<$*> enabled or disabled multi-line matching within a string. +(D deprecated, syntax) The special variable C<$*>, deprecated in older +perls, has been removed as of 5.9.0 and is no longer supported. In +previous versions of perl the use of C<$*> enabled or disabled multi-line +matching within a string. Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp -modifiers. (In older versions: when C<$*> was set to a true value then all regular -expressions behaved as if they were written using C</m>.) +modifiers. You can enable C</m> for a lexical scope (even a whole file) +with C<use re '/m'>. (In older versions: when C<$*> was set to a true value +then all regular expressions behaved as if they were written using C</m>.) =item $# is no longer supported -(D deprecated, syntax) The special variable C<$#>, deprecated in older perls, has -been removed as of 5.9.3 and is no longer supported. You should use the -printf/sprintf functions instead. +(D deprecated, syntax) The special variable C<$#>, deprecated in older +perls, has been removed as of 5.9.3 and is no longer supported. You +should use the printf/sprintf functions instead. =item `%s' is not a code reference -- Perl5 Master Repository