xref: /openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/data/snippets/text/guesswork-no-quoting (revision f2a19305cfc49ea4d1a5feb55cd6c283c6f1e031)
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]
34QUOTING
35    Suppress quotes: "foo", 'foo', `foo`, `foo'
36
37    All these should now be quoted: "$#f", "$foo[4]", "$foo{bar}", "%foo",
38    "@foo", "&foo", "*foo", "$foo->("bar")", "&foo::baz("bar")", "&foo()",
39    "foo( "bar" )", "-1000", "132.123", "5e-7", "0xdeadbeef"
40