http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3215

Ian Walls <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Ian Walls <[email protected]> 2012-02-06 16:06:36 UTC 
---
Given that Perl 5.10 is now the minimum version for Koha, it may prove more
efficient to use ~~ than grep.  For example:

if ( grep {$_ eq $biblionumber} @cart_list) {
   $this_item->{'incart'} = 1;
}

Becomes

if ( $biblionumber ~~ @cart_list) {
   $this_item->{'incart'} = 1;
}

Template level changes look good, and code is clean.  Just wanted to bring this
up to see if anyone had more information or an opinion on the matter before I
push through QA

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to