3 my $THISDIR = dirname $0;
4 unshift @INC, $THISDIR;
6 import TestPodIncPlainText;
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};
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.
23 Now for the grand finale of C<$self->method()->{FIELDNAME} = {FOO=>BAR}>.
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}>.
28 Dont forget C<$self-E<gt>method()-E<gt>{FIELDNAME} = {FOO=E<gt>BAR}>.