On Wed Dec 12 14:33:55 2018, ANDK wrote:
Show quoted text> What would you expect? I would expect the same output as from
> $Time::Mock::VERSION, and that it is:
>
> % perl -MV=Time::Mock | perl -0777 -e 'use Dumpvalue; $_ = <>; print
> Dumpvalue->new(unctrl=>"unctrl")->stringify(substr($_,-4,3)), "\n"'
> "^@^@^B"
$ perl -MTime::Mock -MData::Peek -wE'DDisplay $Time::Mock::VERSION'
"\0\0\2"
$ perl -MData::Peek -E'BEGIN { $V::NO_EXIT = 1 } require V; $a = V::get_version ("Time::Mock"); DHexDump $a'
0000 00 00 02 ...
but I'd like V to be human-friendly on default output
$ perl -MV=Time::Mock
Time::Mock
/pro/lib/perl5/site_perl/5.28.1/Time/Mock.pm:
→
perl -MV=Time::Mock
Time::Mock
/pro/lib/perl5/site_perl/5.28.1/Time/Mock.pm: v0.0.2
Show quoted text> % perl -MTime::Mock -e 'use Dumpvalue; print Dumpvalue-
> >new(unctrl=>"unctrl")->stringify($Time::Mock::VERSION), "\n"'
> "^@^@^B"