I am assigning the following references to sub routines.
and calling them with
and all is working well.
I need to check if the sub routine being called is &NC, how do I extract the name from the reference?
Keith
Code:
my %field_names=(
_adcat => \&ADCAT,
Xadcat => \&CHECK_ADCAT,
_adcat2 => \&ADCAT,
Xadcat2 => \&NC,
_adcat3 => \&ADCAT,
Xadcat3 => \&NC);
Code:
$VALUE=$field_names{"$ref_name"}->($TEXT1,$TNAME,$TVALUE,$COMMENT,$PICCY,$field_id,$DISP_TYPE);
I need to check if the sub routine being called is &NC, how do I extract the name from the reference?
Keith