Randal L. Schwartz wrote:
"Jason" == Jason Gottshall <[EMAIL PROTECTED]> writes:


Jason> Darren Chamberlain wrote:

Also, can someone give me a better name than "$JOINER"? That's a pretty dumb name.


Jason> How about $PARAM_DELIMETER?

Perhaps $URL_PARAM_JOINER? $JOINER actually seemed fine to me.

The trouble is, how to set that from within TT code?

I think a simple addition of a constructor as you mentioned before would be 
good for the cases where a person cannot access the perl code. Here's the 
example I mentioned in a previous email.
-----------------------
I think we should also add an option to the url constructor if possible.
Here's what I mentioned before:
Something like:
USE url('/foo/bar', {}, {joiner => '&'}); # i've learned hashrefs help when you 
want to pass a bunch of options around. otherwise you can end up with 15,000 params
# or if you don't like a hashref for options:
USE url('/foo/bar', {}, '&');
-----------------------

-- Josh

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to