[SR-Users] My wish
Juha Heinanen
jh at tutpro.com
Sat Apr 10 08:31:33 CEST 2010
Alex Balashov writes:
> > Your code might look smth like this :
> >
> > #define DBURL "mysql://..."
> >
> > modparam("module", "db_url", DBURL)
> >
> > In my opinion it will be a nice feature.
>
> I agree, and think that would be wonderful. My only goal is to be
> able to define arbitrary constants in the config and use them anywhere
> in script, including module parameters.
since M4 has been already invented perhaps it would be better to use
that for the above rather than use scarce developer resources to
reinvent the wheel.
-- juha
More information about the sr-users
mailing list