diff options
author | Gisle Aas <gisle@aas.no> | 1997-05-06 23:27:55 +0200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-05-08 00:00:00 +1200 |
commit | 18270fd3b8aafde2f9ea21ea13adde95ef24b149 (patch) | |
tree | c1c6abfce18e550212a819bc8a7edf96ddae5b7d | |
parent | e9e069932a0db06904b29e2b09a435afd40ed35c (diff) | |
download | perl-18270fd3b8aafde2f9ea21ea13adde95ef24b149.tar.gz |
Document 'Possible attempt to separate words with commas'
Perhaps we should just document it:
p5p-msgid: hyb9snvdw.fsf@bergen.sn.no
-rw-r--r-- | pod/perlop.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index 3734477ecf..81efcb267d 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -817,6 +817,11 @@ Some frequently seen examples: use POSIX qw( setlocale localeconv ) @EXPORT = qw( foo bar baz ); +A common mistake is to try to separate the words with comma or to put +comments into a multi-line qw-string. For this reason the C<-w> +switch produce warnings if the STRING contains the "," or the "#" +character. + =item s/PATTERN/REPLACEMENT/egimosx Searches a string for a pattern, and if found, replaces that pattern |