PATCH: silence warnings Search/Results.html

Attached.

–j
Jim Meyer, Geek at Large purp@acm.org

Search.Results.html.patch (2.13 KB)

AFAIK <% undef %> doesn’t trigger uninit warnings(may be only under
standalone_httpd),
if something was changed in HTML::Mason and now it generates warnings
then we need way to return old behaviour because it would be really
painful to fix all this.

Anyway I like hashes more in this code.On 11/17/05, Jim Meyer purp@acm.org wrote:

Attached.

–j

Jim Meyer, Geek at Large purp@acm.org


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
The rt-devel Archives

Best regards, Ruslan.

Hello!

AFAIK <% undef %> doesn’t trigger uninit warnings(may be only under
standalone_httpd),
if something was changed in HTML::Mason and now it generates warnings
then we need way to return old behaviour because it would be really
painful to fix all this.

I don’t know why the warnings started; I did the refactor to be sure it
wasn’t an oddity of the shift()-based code and the warning went away.

Anyway I like hashes more in this code.

Thanks; me, too. But then, I’m okay being shiftless. ;]

Cheers!

–j
Jim Meyer, Geek at Large purp@acm.org