On Tue, Sep 23, 2014 at 3:02 PM, RAPPAZ Francois <[email protected]> wrote:
> I did change ScanDeps.pm as you suggest, you may find the output (together > with pp listing) here: Ouch: # the line below is from dateTime.pm (but there are similar ones in other modules) $ ~/perl5/bin/scandeps.pl -B -e '$dt2 = $dt2->clone->set_time_zone( $dt1->time_zone );' ... 'clone' => '0.37', It's actually caused by return $1 if /[^\$]\b([\w:]+)->\w/ and $1 ne 'Tk' and $1 ne 'shift'; in Module::ScanDeps::scan_chunk(). I guess it was meant to detect something like Foo::Bar->new and infer the use of module Foo::Bar. I'll yank that silly heuristic in the next release of M::SD. Thanks for following thru with this. Cheers, Roderich
