What is the equivalent of
$class->$method( $args );for non-OO packages? I'd like to do
$module::$function( $args );but that results in a syntax error. I could use
$module->$function( undef, $args );but I'm sure there is a better way to do it. Can someone guide me to the higher Perl path?
In reply to Calling $function from $module by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |