Help for this page
if ( defined &TEST::test_sub ) { # package TEST if ( defined &{"${TEST}::test_sub"} ) { # package in $TEST