When it suddenly occurred to me that if this cannot be how the great God Wall intended things to be. Repetition not being a favourite thing in any PL, let alone PERL. However, I am not too savvy with objects let alone doing clever stuff with subroutines. I'm sure there's an easy answer to eliminating all these methods into a single clever one. Can anyone elucidate?sub status { return $_[0]->{status}; } sub deadline { return $_[0]->{deadline}; } sub chasedate { return $_[0]->{chasedate}; } . . .
In reply to Object methods from hashy structures by jfrm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |