diff options
author | brian d foy <bdfoy@cpan.org> | 2010-01-13 17:19:25 +0100 |
---|---|---|
committer | brian d foy <bdfoy@cpan.org> | 2010-01-13 17:19:25 +0100 |
commit | ac0367249e563330db9a9a04f778eae30defbab0 (patch) | |
tree | 7f99b67d93a06be0fb7aa702db8dfd4e24ff501d /pod/perlguts.pod | |
parent | 8d2e243f5816f9d2c4247f962523e4220e4a9ce8 (diff) | |
download | perl-ac0367249e563330db9a9a04f778eae30defbab0.tar.gz |
* Em dash cleanup in pod/
I looked at all the instances of spaces around -- and in most cases
converted the sentences to use more appropriate punctuation. In
general, the -- in the perl docs seem to be there only to make
really complicated and really long sentences.
I didn't look at the closed em-dashes. They probably have the same
sentence-complexity problem.
I left some open em-dashes in place. Those are the ones used in
lists.
Diffstat (limited to 'pod/perlguts.pod')
-rw-r--r-- | pod/perlguts.pod | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod index 8428fe300e..5a68341a6d 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -786,7 +786,7 @@ to survive its use on the stack you need not do any mortalization. If you are not sure then doing an C<SvREFCNT_inc> and C<sv_2mortal>, or making a C<sv_mortalcopy> is safer. -The mortal routines are not just for SVs -- AVs and HVs can be +The mortal routines are not just for SVs; AVs and HVs can be made mortal by passing their address (type-casted to C<SV*>) to the C<sv_2mortal> or C<sv_mortalcopy> routines. @@ -1624,11 +1624,10 @@ and C<dXSTARG>. =head2 Scratchpads The question remains on when the SVs which are I<target>s for opcodes -are created. The answer is that they are created when the current unit -- -a subroutine or a file (for opcodes for statements outside of -subroutines) -- is compiled. During this time a special anonymous Perl -array is created, which is called a scratchpad for the current -unit. +are created. The answer is that they are created when the current +unit--a subroutine or a file (for opcodes for statements outside of +subroutines)--is compiled. During this time a special anonymous Perl +array is created, which is called a scratchpad for the current unit. A scratchpad keeps SVs which are lexicals for the current unit and are targets for opcodes. One can deduce that an SV lives on a scratchpad |