diff options
author | Jan Dubois <jand@activestate.com> | 1999-05-02 00:55:36 +0200 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-10 12:17:26 +0000 |
commit | 2cdbc966996b991c40c8522dcf668b1e34b5e76b (patch) | |
tree | 5b5219d5a693f01e11262050e4cdff81c71cbc99 /pod/perlop.pod | |
parent | 25da4f389200e19df8aa50bcef9af9506f48ed2e (diff) | |
download | perl-2cdbc966996b991c40c8522dcf668b1e34b5e76b.tar.gz |
Win32 and VC++ 98 doesn't support CASTI
Message-ID: <373067e9.56194713@smtp1.ibm.net>
p4raw-id: //depot/perl@3379
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index f70311b8e1..106b9a9a87 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -365,12 +365,14 @@ Use "or" for assignment is unlikely to do what you want; see below. Binary ".." is the range operator, which is really two different operators depending on the context. In list context, it returns an -array of values counting (by ones) from the left value to the right -value. This is useful for writing C<foreach (1..10)> loops and for -doing slice operations on arrays. In the current implementation, no -temporary array is created when the range operator is used as the -expression in C<foreach> loops, but older versions of Perl might burn -a lot of memory when you write something like this: +array of values counting (up by ones) from the left value to the right +value. If the left value is greater than the right value then it +returns the empty array. The range operator is useful for writing +C<foreach (1..10)> loops and for doing slice operations on arrays. In +the current implementation, no temporary array is created when the +range operator is used as the expression in C<foreach> loops, but older +versions of Perl might burn a lot of memory when you write something +like this: for (1 .. 1_000_000) { # code |