You can use App::PPI::Dumper under the same terms as Perl itself.