I can run a function this way (in the main package namespace): &main::aMainFunctionName(@param);
How do I run it with a namespace var? $space = 'main'; eval \&${space}::aMainFunctionName(\@); Then, when and if that is possible, can I pass namespace to another package and use functions from caller? As in AnotherPackage::function(*{aMainFunctionName}{PACKAGE}); Then in the other package function { my $hisPackage = shift; # this is the package name Thanks. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/