[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] tweak



Andy Lester wrote:
    foreach ($q->param) {
        if (/^view__Record__(.+)/) {
            $pageid = $1;
            last;
        }
    }

This last one I think is the clearest, because what you're saying is
"match view__Record__ followed by something else, and I want to keep the
something else".

Wow, that *is* cool. Thanks!

j