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 :-)
In reply to Re: Re: Strange behaviour - cgi related
by duff
in thread Strange behaviour - cgi related
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |