BEGIN { use File::Basename; my $THISDIR = dirname $0; unshift @INC, $THISDIR; require "testp2pt.pl"; import TestPodIncPlainText; } my %options = map { $_ => 1 } @ARGV; ## convert cmdline to options-hash my $passed = testpodplaintext \%options, $0; exit( ($passed == 1) ? 0 : -1 ) unless $ENV{HARNESS_ACTIVE}; __END__ =pod This is a test to see if I can do not only C<$self> and C, but also C<$self->method()> and C<$self->{FIELDNAME}> and C<{FOO=>BAR}> without resorting to escape sequences. Now for the grand finale of C<$self->method()->{FIELDNAME} = {FOO=>BAR}>. Of course I should still be able to do all this I escape sequences too: C<$self-Emethod()> and C<$self-E{FIELDNAME}> and C<{FOO=EBAR}>. Dont forget C<$self-Emethod()-E{FIELDNAME} = {FOO=EBAR}>. And make sure that C<0> works too! =cut