diff options
author | Abigail <abigail@abigail.be> | 2000-09-26 09:36:14 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-03 00:05:06 +0000 |
commit | 9c0670e1eab17cd3b7453bbff593c4ad6ff9bde0 (patch) | |
tree | 918924a2aec25ea8f147140413eeec7c16249009 /pod/perlop.pod | |
parent | 6dc8a9e4bcd53982379e0df712cfc2dd75d92d2f (diff) | |
download | perl-9c0670e1eab17cd3b7453bbff593c4ad6ff9bde0.tar.gz |
Documentation glitch in magic autoincrement.
Message-ID: <20000926173614.4356.qmail@foad.org>
p4raw-id: //depot/perl@7121
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index 945d4f3c5f..32eaa3c330 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -119,7 +119,7 @@ you increment a variable that is numeric, or that has ever been used in a numeric context, you get a normal increment. If, however, the variable has been used in only string contexts since it was set, and has a value that is not the empty string and matches the pattern -C</^[a-zA-Z]*[0-9]*$/>, the increment is done as a string, preserving each +C</^[a-zA-Z]*[0-9]*\z/>, the increment is done as a string, preserving each character within its range, with carry: print ++($foo = '99'); # prints '100' |