EU::Typemaps: Make oneliner in docs more portable
authorSteffen Mueller <smueller@cpan.org>
Fri, 20 Jan 2012 07:16:56 +0000 (08:16 +0100)
committerSteffen Mueller <smueller@cpan.org>
Fri, 20 Jan 2012 08:06:39 +0000 (09:06 +0100)
Hopefully, anyway, by using double quotes (win32) and Perl's q quoting
construct inside.

dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm

index 3c4e8c6..fe3edf5 100644 (file)
@@ -107,7 +107,7 @@ ExtUtils::Typemaps::Cmd - Quick commands for handling typemaps
 From XS:
 
   INCLUDE_COMMAND: $^X -MExtUtils::Typemaps::Cmd \
-                   -e 'print embeddable_typemap("Excommunicated")'
+                   -e "print embeddable_typemap(q{Excommunicated})"
 
 Loads C<ExtUtils::Typemaps::Excommunicated>, instantiates an object,
 and dumps it as an embeddable typemap for use directly in your XS file.