but is there a neater way? If someone else changes the record layout and adds a new subroutine, then the code would need to be changed to cater for it, which probably isn't ideal.if ($sub_routine =~ /check_char/} { check_char ($value1, $value2); }
In reply to Re: subroutine ref while "strict refs"
by viffer
in thread subroutine ref while "strict refs"
by viffer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |