diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-03-11 07:12:18 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-03-11 07:12:18 +0000 |
commit | d28ebecde48fa14623be7a09bf607426f095b6c1 (patch) | |
tree | 0aed4eb017845069b03dc4d8a5ceb649a06012ac /pod/perldata.pod | |
parent | 94d58c47cfbe97ca0a689bcd5b7f9132f7918fee (diff) | |
download | perl-d28ebecde48fa14623be7a09bf607426f095b6c1.tar.gz |
Fix miscellaneous typos
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r-- | pod/perldata.pod | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod index 90ac535e1c..4b6e433515 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -121,7 +121,7 @@ Scalars aren't necessarily one thing or another. There's no place to declare a scalar variable to be of type "string", or of type "number", or type "filehandle", or anything else. Perl is a contextually polymorphic language whose scalars can be strings, numbers, or references (which -includes objects). While strings and numbers are considered the pretty +includes objects). While strings and numbers are considered pretty much same thing for nearly all purposes, references are strongly-typed uncastable pointers with built-in reference-counting and destructor invocation. @@ -189,7 +189,7 @@ So in general you can just assume that scalar(@whatever) == $#whatever + 1; -Some programmer choose to use an explcit conversion so nothing's +Some programmers choose to use an explicit conversion so nothing's left to doubt: $element_count = scalar(@whatever); @@ -311,9 +311,8 @@ quotes you use determines the treatment of the text, just as in regular quoting. An unquoted identifier works like double quotes. There must be no space between the C<E<lt>E<lt>> and the identifier. (If you put a space it will be treated as a null identifier, which is valid, and matches the -first blank line--see the Merry Christmas example below.) The terminating -string must appear by itself (unquoted and with no surrounding -whitespace) on the terminating line. +first blank line.) The terminating string must appear by itself +(unquoted and with no surrounding whitespace) on the terminating line. print <<EOF; The price is $Price. @@ -334,7 +333,7 @@ whitespace) on the terminating line. I said bar. bar - myfunc(<<"THIS", 23, <<'THAT''); + myfunc(<<"THIS", 23, <<'THAT'); Here's a line or two. THIS |