1b31387dd3c1197823977da3450d20e30271f9bb
[p5sagit/p5-mst-13.2.git] / t / pod / special_seqs.t
1 BEGIN {
2    use File::Basename;
3    my $THISDIR = dirname $0;
4    unshift @INC, $THISDIR;
5    require "testp2pt.pl";
6    import TestPodIncPlainText;
7 }
8
9 my %options = map { $_ => 1 } @ARGV;  ## convert cmdline to options-hash
10 my $passed  = testpodplaintext \%options, $0;
11 exit( ($passed == 1) ? 0 : -1 )  unless $ENV{HARNESS_ACTIVE};
12
13
14 __END__
15
16
17 =pod
18
19 This is a test to see if I can do not only C<$self> and C<method()>, but
20 also C<$self->method()> and C<$self->{FIELDNAME}> and C<{FOO=>BAR}> without
21 resorting to escape sequences.
22
23 Now for the grand finale of C<$self->method()->{FIELDNAME} = {FOO=>BAR}>.
24
25 Of course I should still be able to do all this I<with> escape sequences
26 too: C<$self-E<gt>method()> and C<$self-E<gt>{FIELDNAME}> and C<{FOO=E<gt>BAR}>.
27
28 Dont forget C<$self-E<gt>method()-E<gt>{FIELDNAME} = {FOO=E<gt>BAR}>.
29
30 And make sure that C<0> works too!
31
32 =cut