I think it would be a good idea to add it to the standard distribution.
As it is now I have to recompile a lot of apps (my own and other libraries) as
soon as anything changes in yaws_api.hrl. This problem would be solved, or at
least smaller, if one could use a module as yaws_arg.erl "in sync" with the
Yaws version and call it from all other applications.
Or is there any other way to get around this problem when yaws_api.hrl is
updated? Actually it is not a nice suprise to see all your apps stop working
after upgrading Yaws. I know, I am supposed to test everything before doing
such a thing in a production environment, but but...only human, etc..
fredag 13 oktober 2006 20:59 skrev Yariv Sadan:
> I created a very simple module for getting and setting values of the
> Yaws 'arg' record. This lets you interact with the record values using
> functions rather than the record directly, so you don't have to
> include yaws_api.hrl in all your .yaws files and/or appmods.
> The module is attached. Feel free to add it to the standard
> distribution if you want.