in reply to Re: Strange behaviour - cgi related
in thread Strange behaviour - cgi related
Well, it's not an undef as his code would have worked properly in the first place; it's an empty list. But yes, || is another way to force a scalar context on param() such that it does the right thing when asked to return a multi-valued parameter. In fact, I like that method quite a bit :-)
|
|---|