title: How to construct and redirect to a url in perl mason
body: <p>From my .mi file, I want to do a redirect to  a relative url and pass parameters 'x' and 'y'. Redirection should happen to -</p>
  
  <blockquote>
    <p>/a/b/c?x=1&amp;y=2</p>
  </blockquote>
  
  <p>Please suggest how can this be done. </p>
  
  <p>I am trying</p>
  
  <pre><code>$m-&gt;redirect((url =&gt; $Std-&gt;url('/gp/prime/pipeline/signup',{ protocol =&gt; 'https', get =&gt; {'x' =&gt; '1', 'y' =&gt; '2'}}))
  </code></pre>
  
  <p>But does not work. :(</p>