Author: particle
Date: 2009-01-02 17:17:06 +0100 (Fri, 02 Jan 2009)
New Revision: 24738
Modified:
   docs/Perl6/Spec/S19-commandline.pod
Log:
[spec] add note about dangers of mixing -e and -e6

Modified: docs/Perl6/Spec/S19-commandline.pod
===================================================================
--- docs/Perl6/Spec/S19-commandline.pod 2009-01-02 16:08:51 UTC (rev 24737)
+++ docs/Perl6/Spec/S19-commandline.pod 2009-01-02 16:17:06 UTC (rev 24738)
@@ -647,6 +647,9 @@
 env var? maybe -E
 
 [could be posed in terms of substituting a different prelude]
+
+mixing -e and -e6 can lead to problems, for example:
+  perl -e "my $x = 1;" -e "print $x" -e6 "if $x"
 }}
 
 =for vim:set expandtab sw=4:

Reply via email to