Skip Menu |

This queue is for tickets about the Import-Into CPAN distribution.

Report information
The Basics
Id: 96995
Status: resolved
Priority: 0/
Queue: Import-Into

People
Owner: ether [...] cpan.org
Requestors: MITHALDU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.002003



Subject: Patch: require modules in I::I
Prelude: (Mithaldu) mst: if Import::Into were to do a require i wouldn't care about ->import being a noop, since it would then be identical to use :) (mst) I don't see any reason not to do so; I barely regard Module::Runtime as a dep at this point In the git repository in the branch require_always are changes to I::I that amount to: - [ $class->VERSION($version); ] $class->$action(@_) + Module::Runtime::use_module( $class[, $version] )->$action(@_) This removes the trap that users of Import::Into need to be aware of the requirement to load modules before calling import::into on them (and has the slight benefit of reducing code duplication). The branch includes code changes, test changes, doc changes, dep update and Changes update.
released in 1.002003.