diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-09 19:43:10 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-09 19:43:10 +0000 |
commit | ba5725f86ec53dd2a7f696a72a177a926c615c9e (patch) | |
tree | 9202f64f33adad7fcb643a2a43dae915c73bf20a /lib | |
parent | 865be8325e7f3f3238a9773fffa973af7594f852 (diff) | |
download | perl-ba5725f86ec53dd2a7f696a72a177a926c615c9e.tar.gz |
fix Exporter::export_to_level() documentation
p4raw-id: //depot/perl@4324
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Exporter.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Exporter.pm b/lib/Exporter.pm index bc07e9b2be..d74f07f311 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: |