From: Gisle Aas Date: Tue, 6 May 1997 21:27:55 +0000 (+0200) Subject: Document 'Possible attempt to separate words with commas' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=18270fd3b8aafde2f9ea21ea13adde95ef24b149;p=p5sagit%2Fp5-mst-13.2.git Document 'Possible attempt to separate words with commas' Perhaps we should just document it: p5p-msgid: hyb9snvdw.fsf@bergen.sn.no --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 3734477..81efcb2 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