|
/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/AutoCode/blib/lib/AutoCode/SymbolTableUtils.pm |
# Supposed you have a module 'A' with its only method 'a'
use A;
print AutoCode::SymbolTableUtils::code_exists('A::a')?'yes':'no' , "\n";
I hope this module is enough for spying the every bit of Perl's symbol table.
The methods are categoried to answer 2 types of questions
PKG_exists CODE_exists
=back
Juguang Xiao, juguang at tll.org.sg
This module is a free software. You may copy or redistribute it under the same terms as Perl itself.
|
/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/AutoCode/blib/lib/AutoCode/SymbolTableUtils.pm |