in reply to When -w and use strict aren't enough...
I know not all the intricacies of Perl but I will
suggest this:
in an array, it will check %main:: and CORE:: to see
whether the subroutines have been, or will be, declared
at any point in your original script.
suggest this:
Snarf in your script from another script. The second
script will declare any sub it comes across:
Then the second script will store every sub calledif( $line =~ m!sub\s+(\S+){ eval "sub $1 {}" }
in an array, it will check %main:: and CORE:: to see
whether the subroutines have been, or will be, declared
at any point in your original script.
I hope my advice helps.
-Jacob
Eat Perl, live well.
My site