Very clever!
But it only seems to support Tk-style parameters. If I call the routine without leading dashes in the parameter names, it doesn't work, nor can I make Getopt::Long ignore underscores to enable LWP-style named parameters.
Still, very clever code reuse there.
In reply to Re^2: Case-insensitive, dash-optional named parameters for your functions
by William G. Davis
in thread Case-insensitive, dash-optional named parameters for your functions
by William G. Davis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |