Hi all,
Is there a way to do the sementic checking on subtroutines? I want to make
sure the the subroutine called is defined somewhere (either from an imported
module, or system builtin). I know 'use strict' can prevent you from using a
variable before defining it, so is there a way to do the similar thing to
subroutines? without having to run the script and watching it throw up. For
example, the following code passes 'perl -c' test:
-------
#!/usr/bin/perl -w
use strict;
use File::Find;
File::Find::non_exist_sub('a','b');
--------
Jun Wan
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm