From: Graham Knop Date: Fri, 6 Dec 2013 20:45:28 +0000 (-0500) Subject: small doc addition X-Git-Tag: v1.002000~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FImport-Into.git;a=commitdiff_plain;h=06bd142d875a918529a7e006cbddcd3cbddc11b9 small doc addition --- diff --git a/lib/Import/Into.pm b/lib/Import/Into.pm index 71f1507..c2ddbf8 100644 --- a/lib/Import/Into.pm +++ b/lib/Import/Into.pm @@ -204,6 +204,9 @@ in the directive then need to be fetched using C: }; $sub->($thing, @import_args); +And you need to switch between these implementations depending on if you are +targetting a specific package, or something in your call stack. + Remembering all this, however, is excessively irritating. So I wrote a module so I didn't have to anymore. Loading L creates a global method C which you can call on any package to import it into another