in reply to Re^4: Using pattern match
in thread Using pattern match
This is not a very good idea for the same reasons as my eval-based solution above: it's insecure (there was a comment above about that) and the interface (the way you call triggers.pl) depends on the implementation in weird ways (the user has to use numbered variables).
This is ok if you just want to learn about dispatch tables, but production code should be better designed.
|
|---|