Welcome to the Monastery | |
PerlMonks |
Re: Test if a string is a sub nameby choroba (Cardinal) |
on Oct 05, 2022 at 21:56 UTC ( [id://11147265]=note: print w/replies, xml ) | Need Help?? |
You can use exists and defined to find out:
Output:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|