Hi Kristis,

Bugzilla 4.0 has dropped lsearch as per the Release Notes (
http://www.bugzilla.org/releases/4.0/release-notes.html):

> The Bugzilla::Util::lsearch function is gone. Use firstidx from
> List::MoreUtils, instead.
>

Regards,
Yavor

On Sat, Mar 5, 2011 at 06:20, Kristis Makris <[email protected]> wrote:

> Hi Yavor, I have a question
>
> In http://bugzilla.mkgnu.net/show_bug.cgi?id=1498
>
> is List::MoreUtils is really necessary?
>
> Why, for example, is there such a change? What was wrong with lsearch?
>
> -        my $pos = Bugzilla::Util::lsearch($resolution_values, '');
> +        my $pos = firstidx { $_ eq '' } @$resolution_values;
>
>
>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to