See Algorithm::Diff for an example of passing in such subroutines. And you should also provide for an extra scalar that will be passed to the user subroutines, so the user can provide context to them without using globals.
In reply to Re: recursively comparing heterogenous data structures
by bikeNomad
in thread recursively comparing heterogenous data structures
by thraxil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |