The URL plugin will not do what you are asking. You can use CGI.pm,
either through the plugin or passed in from your calling script if you
use it there. Set the new params then use self_url or url.
If you are running under mod_perl, there are also functions there you
can use for handling urls.
Me wrote:
I have a dyanmic string that at any time could be:
www.somplace.com
www.someplace.com?this=that
www.someplace.com?this=that&I=u
etc..
anyways.. when I try to use the URL plugin on the
incoming url when I have to append 'additional'
name/value pairs its not smart enough to know that its
not the first within the url so it shows a "?"...
for example
url('www.someplace.com?this=that', red='cool') is
giving me.
www.sompleace.com?this=that?red=cool
what gives?
Is there a plugin (or maybe I am using this one
incorrectly) that "knows" that it is the first or last
or whatever position and serves a ? or a & in the
right place??
please advise.
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates