I'm refactoring some old template code (Apache::Template) to be more general. Now, where I used to have:
id = params.sector_id ;
I want:
table = "sector" ;
id = params.${table}_id ;
But that coughs. What am I missing?
Ta,
Dave
I'm refactoring some old template code (Apache::Template) to be more general. Now, where I used to have:
id = params.sector_id ;
I want:
table = "sector" ;
id = params.${table}_id ;
But that coughs. What am I missing?
Ta,
Dave