This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
update podlators to 5.01
[perl5.git] / cpan / podlators / t / data / snippets / man / guesswork-no-quoting
CommitLineData
20616d51
RA
1[name]
2Disable quoting guesswork
3
4[options]
5guesswork none
6
7[input]
8=head1 QUOTING
9
10Suppress quotes:
11C<"foo">,
12C<'foo'>,
13C<`foo`>,
14C<`foo'>,
15
16All these should now be quoted:
17C<$#f>,
18C<$foo[4]>,
19C<$foo{bar}>,
20C<%foo>,
21C<@foo>,
22C<&foo>,
23C<*foo>,
24C<< $foo->("bar") >>,
25C<&foo::baz("bar")>,
26C<&foo()>,
27C<foo( "bar" )>,
28C<-1000>,
29C<132.123>,
30C<5e-7>,
31C<0xdeadbeef>
32
33[output]
a9304318 34.SH QUOTING
20616d51
RA
35.IX Header "QUOTING"
36Suppress quotes:
37\&\f(CW"foo"\fR,
38\&\f(CW\*(Aqfoo\*(Aq\fR,
39\&\f(CW\`foo\`\fR,
40\&\f(CW\`foo\*(Aq\fR,
41.PP
42All these should now be quoted:
43\&\f(CW\*(C`$#f\*(C'\fR,
44\&\f(CW\*(C`$foo[4]\*(C'\fR,
45\&\f(CW\*(C`$foo{bar}\*(C'\fR,
46\&\f(CW\*(C`%foo\*(C'\fR,
47\&\f(CW\*(C`@foo\*(C'\fR,
48\&\f(CW\*(C`&foo\*(C'\fR,
49\&\f(CW\*(C`*foo\*(C'\fR,
50\&\f(CW\*(C`$foo\->("bar")\*(C'\fR,
51\&\f(CW\*(C`&foo::baz("bar")\*(C'\fR,
52\&\f(CW\*(C`&foo()\*(C'\fR,
53\&\f(CW\*(C`foo( "bar" )\*(C'\fR,
54\&\f(CW\*(C`\-1000\*(C'\fR,
55\&\f(CW\*(C`132.123\*(C'\fR,
56\&\f(CW\*(C`5e\-7\*(C'\fR,
57\&\f(CW\*(C`0xdeadbeef\*(C'\fR