Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I've got to migrate a set of embedded (in excel workbooks) function calls from one arg list signature to another.
there are ~10 functions that need translating into ~6 new targets.ie: funca(a,b,c,d) -> func(a,b,XXX,YYY,d) or funcb(a,b,c,d) -> func(a,b,,,d)
I've been building a pair of hashes, one for the func name translations and another for the arglists. But this is getting very c-ish and clunky. Can someone suggest a different, perhaps more general, approach? rather than hard wiring a set of hashes...
thanks,20030203 - Edit by Corion : Added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: translate arglist
by Hofmator (Curate) on Feb 03, 2003 at 13:33 UTC | |
by denap (Initiate) on Feb 04, 2003 at 16:51 UTC | |
|
Re: translate arglist
by denap (Initiate) on Feb 03, 2003 at 15:41 UTC |