Updated Module::Build to 0.35_14
[p5sagit/p5-mst-13.2.git] / cpan / Module-Build / lib / Module / Build / Dumper.pm
CommitLineData
7a827510 1package Module::Build::Dumper;
738349a8 2use strict;
3use vars qw($VERSION);
53fc1c7e 4$VERSION = '0.35_14';
7a827510 5
6# This is just a split-out of a wrapper function to do Data::Dumper
7# stuff "the right way". See:
8# http://groups.google.com/group/perl.module.build/browse_thread/thread/c8065052b2e0d741
9
10use Data::Dumper;
11
12sub _data_dump {
13 my ($self, $data) = @_;
14 return ("do{ my "
738349a8 15 . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump()
7a827510 16 . '$x; }')
17}
18
191;