Name

export_to_level

Synopsis

                     package->export_to_level(n, what_to_export)

Used when you can’t use Exporter’s import method directly. Takes the following arguments:

n

An integer specifying how far up the calling stack to export your symbols

what_to_export

Array of symbols to export, usually @_

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.