Skip to main content

require_package_with_options

Function require_package_with_options 

Source
pub fn require_package_with_options(name: &str) -> Result<()>
Expand description

Perl: RequirePackage($name, withoptions => 1) — forward the current package/class’s options to the required child package. Reads \@currname / \@currext to identify the caller, looks up its opt@<name>.<ext> options, and passes them explicitly as the child’s options list. Mirrors load_class_with_options for the package path.