Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|