From: Gurusamy Sarathy Date: Sat, 9 Oct 1999 19:43:10 +0000 (+0000) Subject: fix Exporter::export_to_level() documentation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ba5725f86ec53dd2a7f696a72a177a926c615c9e;p=p5sagit%2Fp5-mst-13.2.git fix Exporter::export_to_level() documentation p4raw-id: //depot/perl@4324 --- diff --git a/lib/Exporter.pm b/lib/Exporter.pm index bc07e9b..d74f07f 100644 --- a/lib/Exporter.pm +++ b/lib/Exporter.pm @@ -196,11 +196,12 @@ Exporter has a special method, 'export_to_level' which is used in situations where you can't directly call Export's import method. The export_to_level method looks like: -MyPackage->export_to_level($where_to_export, @what_to_export); +MyPackage->export_to_level($where_to_export, $package, @what_to_export); where $where_to_export is an integer telling how far up the calling stack to export your symbols, and @what_to_export is an array telling what -symbols *to* export (usually this is @_). +symbols *to* export (usually this is @_). The $package argument is +currently unused. For example, suppose that you have a module, A, which already has an import function: