Subject: | Synopsis error: use PPI::Document->new instead of PPI::Document->load |
The SYNOPSIS says:
my $document = PPI::Document->load("t/lib/Acme.pm");
but this generates a PPI warning:
API CHANGE: File names should now be passed to PPI::Document->new to load a file
so the synopsis should instead say:
my $document = PPI::Document->new("t/lib/Acme.pm");