clscott has asked for the wisdom of the Perl Monks concerning the following question:
I have a string that comes from a config file: My::Filters::filter_it_like_this
If we assume that My::Filters has been loaded, how can I verify that this string is a subroutine?
--
Clayton
Clayton
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Test if a string is a sub name
by choroba (Cardinal) on Oct 05, 2022 at 21:56 UTC | |
by BillKSmith (Monsignor) on Oct 06, 2022 at 15:15 UTC | |
by choroba (Cardinal) on Oct 06, 2022 at 15:22 UTC | |
by clscott (Friar) on Oct 05, 2022 at 22:42 UTC | |
Re: Test if a string is a sub name
by SankoR (Prior) on Oct 06, 2022 at 00:39 UTC | |
by clscott (Friar) on Oct 06, 2022 at 12:41 UTC |
Back to
Seekers of Perl Wisdom