mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
12 lines
544 B
Plaintext
12 lines
544 B
Plaintext
We can call outside defined subroutines from the Safe
|
|
compartment using share(), and call methods through the object that is
|
|
copied into the Safe compartment using varglob(). However, these
|
|
subroutines and methods are still executed in the Safe compartment, so
|
|
they cannot call other subroutines that are dynamically qualified with
|
|
the package name, such as class methods.
|
|
|
|
Through Safe::Hole, we can execute outside defined subroutines
|
|
in the original main compartment from the Safe compartment.
|
|
|
|
WWW: https://metacpan.org/release/Safe-Hole
|