Skip Menu |

This queue is for tickets about the Method-Signatures-Simple CPAN distribution.

Report information
The Basics
Id: 64414
Status: resolved
Priority: 0/
Queue: Method-Signatures-Simple

People
Owner: rhesa [...] cpan.org
Requestors: JSWARTZ [...] cpan.org
Cc:
AdminCc:

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



Subject: Document 'into' or other way of importing M::S::S into another class
I want to import Method::Signatures::Simple into every class that uses a certain meta-import module. The way I do this is currently Method::Signatures::Simple->import(into => $caller); But I don't know if 'into' is officially supported since it isn't documented. Is there any reason to believe 'into' will go away? Thanks Jon
Hi Jon, On Mon Jan 03 05:08:14 2011, JSWARTZ wrote: Show quoted text
> I want to import Method::Signatures::Simple into every class that uses
a Show quoted text
> certain meta-import module. The way I do this is currently > > Method::Signatures::Simple->import(into => $caller); > > But I don't know if 'into' is officially supported since it isn't > documented. Is there any reason to believe 'into' will go away?
No, it won't go away, since ultimately it hands that attribute over to Devel::Declare's setup_for(). I also use this feature myself in CGI::Application::Plugin::RunmodeDeclare (as well as some private modules). I'll add a line or two to the documentation about it. Thanks! Rhesa