← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 11:58:52 2013
Reported on Tue Oct 15 12:02:25 2013

Filename/usr/share/perl5/Business/ISBN/Data.pm
StatementsExecuted 13 statements in 3.65ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11122µs26µsBusiness::ISBN::Data::::BEGIN@3Business::ISBN::Data::BEGIN@3
11115µs60µsBusiness::ISBN::::BEGIN@73.12 Business::ISBN::BEGIN@73.12
1119µs34µsBusiness::ISBN::Data::::BEGIN@4Business::ISBN::Data::BEGIN@4
0000s0sBusiness::ISBN::::isbn_group_code_string_from_number Business::ISBN::isbn_group_code_string_from_number
0000s0sBusiness::ISBN::::isbn_publisher_ranges_from_group_number Business::ISBN::isbn_publisher_ranges_from_group_number
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# $Id: Data.pm,v 1.17 2007/10/27 18:46:39 comdog Exp $
2package Business::ISBN::Data;
3334µs231µs
# spent 26µs (22+5) within Business::ISBN::Data::BEGIN@3 which was called: # once (22µs+5µs) by Business::ISBN::BEGIN@75 at line 3
use strict;
# spent 26µs making 1 call to Business::ISBN::Data::BEGIN@3 # spent 5µs making 1 call to strict::import
4390µs260µs
# spent 34µs (9+26) within Business::ISBN::Data::BEGIN@4 which was called: # once (9µs+26µs) by Business::ISBN::BEGIN@75 at line 4
use vars qw($VERSION);
# spent 34µs making 1 call to Business::ISBN::Data::BEGIN@4 # spent 26µs making 1 call to vars::import
5
612µs$VERSION = '20081208';
7
8=head1 NAME
9
- -
71package Business::ISBN;
72
7332.53ms2104µs
# spent 60µs (15+44) within Business::ISBN::BEGIN@73.12 which was called: # once (15µs+44µs) by Business::ISBN::BEGIN@75 at line 73
use vars qw( %country_data $MAX_COUNTRY_CODE_LENGTH );
# spent 60µs making 1 call to Business::ISBN::BEGIN@73.12 # spent 44µs making 1 call to vars::import
74
751593µs%country_data = (
760 => ['English speaking area' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
771 => ['English speaking area' => ['00' => '09', '100' => '399', '4000' => '5499', '55000' => '86979', '869800' => '998999'] ],
782 => ['French speaking area' => ['00' => '19', '200' => '349', '35000' => '39999', '400' => '699', '7000' => '8399', '84000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
793 => ['German speaking area' => ['00' => '02', '030' => '033', '0340' => '0369', '03700' => '03999', '04' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9539999', '95400' => '96999', '9700000' => '9899999', '99000' => '99499', '99500' => '99999'] ],
804 => ['Japan' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
815 => ['Russian Federation' => ['00' => '19', '200' => '420', '4210' => '4299', '430' => '430', '4310' => '4399', '440' => '440', '4410' => '4499', '450' => '699', '7000' => '8499', '85000' => '89999', '900000' => '909999', '91000' => '91999', '9200' => '9299', '93000' => '94999', '9500' => '9799', '98000' => '98999', '9900000' => '9909999', '9910' => '9999'] ],
82600 => ['Iran' => ['00' => '09', '100' => '499', '5000' => '8999', '90000' => '99999'] ],
83601 => ['Kazakhstan' => ['00' => '19', '200' => '699', '7000' => '7999', '80000' => '84999', '85' => '99'] ],
84602 => ['Indonesia' => ['00' => '19', '200' => '799', '8000' => '9499', '95000' => '99999'] ],
85603 => ['Saudi Arabia' => ['00' => '04', '500' => '799', '8000' => '8999', '90000' => '99999'] ],
86604 => ['Vietnam' => ['0' => '4', '50' => '89', '900' => '979', '9800' => '9999'] ],
87605 => ['Turkey' => ['00' => '09', '100' => '399', '4000' => '5999', '60000' => '89999'] ],
88606 => ['Romania' => ['0' => '0', '10' => '49', '500' => '799', '8000' => '9199', '92000' => '99999'] ],
89607 => ['Mexico' => ['00' => '39', '400' => '749', '7500' => '9499', '95000' => '99999'] ],
90608 => ['Macedonia' => ['0' => '0', '10' => '19', '200' => '449', '4500' => '6499', '65000' => '69999', '7' => '9'] ],
91609 => ['Lithuania' => ['00' => '39', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
92610 => ['Thailand' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '99999'] ],
93611 => ['Ukraine' => ['00' => '49', '500' => '699', '7000' => '8999', '90000' => '99999'] ],
947 => ['China, People\'s Republic' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '89999', '900000' => '999999'] ],
9580 => ['Czech Republic; Slovakia' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
9681 => ['India' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
9782 => ['Norway' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '98999', '990000' => '999999'] ],
9883 => ['Poland' => ['00' => '19', '200' => '599', '60000' => '69999', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
9984 => ['Spain' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '9000' => '9199', '920000' => '923999', '92400' => '92999', '930000' => '949999', '95000' => '96999', '9700' => '9999'] ],
10085 => ['Brazil' => ['00' => '19', '200' => '599', '60000' => '69999', '7000' => '8499', '85000' => '89999', '900000' => '979999', '98000' => '99999'] ],
10186 => ['Serbia and Montenegro' => ['00' => '29', '300' => '599', '6000' => '7999', '80000' => '89999', '900000' => '999999'] ],
10287 => ['Denmark' => ['00' => '29', '400' => '649', '7000' => '7999', '85000' => '94999', '970000' => '999999'] ],
10388 => ['Italian speaking area' => ['00' => '19', '200' => '599', '6000' => '8499', '85000' => '89999', '900000' => '949999', '95000' => '99999'] ],
10489 => ['Korea' => ['00' => '24', '250' => '549', '5500' => '8499', '85000' => '94999', '950000' => '999999'] ],
10590 => ['Netherlands, Belgium (Flemish)' => ['00' => '19', '200' => '499', '5000' => '6999', '70000' => '79999', '800000' => '849999', '8500' => '8999', '900000' => '909999', '940000' => '949999'] ],
10691 => ['Sweden' => ['0' => '1', '20' => '49', '500' => '649', '7000' => '7999', '85000' => '94999', '970000' => '999999'] ],
10792 => ['International Publishers (Unesco, EU), European Community Organizations' => ['0' => '5', '60' => '79', '800' => '899', '9000' => '9499', '95000' => '98999', '990000' => '999999'] ],
10893 => ['India' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '94999', '950000' => '999999'] ],
10994 => ['Netherlands' => ['000' => '599', '6000' => '8999', '90000' => '99999'] ],
110950 => ['Argentina' => ['00' => '49', '500' => '899', '9000' => '9899', '99000' => '99999'] ],
111951 => ['Finland' => ['0' => '1', '20' => '54', '550' => '889', '8900' => '9499', '95000' => '99999'] ],
112952 => ['Finland' => ['00' => '19', '200' => '499', '5000' => '5999', '60' => '65', '6600' => '6699', '67000' => '69999', '7000' => '7999', '80' => '94', '9500' => '9899', '99000' => '99999'] ],
113953 => ['Croatia' => ['0' => '0', '10' => '14', '150' => '549', '55000' => '59999', '6000' => '9499', '95000' => '99999'] ],
114954 => ['Bulgaria' => ['00' => '29', '300' => '799', '8000' => '8999', '90000' => '92999', '9300' => '9999'] ],
115955 => ['Sri Lanka' => ['0000' => '0999', '1000' => '1999', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
116956 => ['Chile' => ['00' => '19', '200' => '699', '7000' => '9999'] ],
117957 => ['Taiwan, China' => ['00' => '02', '0300' => '0499', '05' => '19', '2000' => '2099', '21' => '27', '28000' => '30999', '31' => '43', '440' => '819', '8200' => '9699', '97000' => '99999'] ],
118958 => ['Colombia' => ['00' => '56', '57000' => '59999', '600' => '799', '8000' => '9499', '95000' => '99999'] ],
119959 => ['Cuba' => ['00' => '19', '200' => '699', '7000' => '8499'] ],
120960 => ['Greece' => ['00' => '19', '200' => '659', '6600' => '6899', '690' => '699', '7000' => '8499', '85000' => '99999'] ],
121961 => ['Slovenia' => ['00' => '19', '200' => '599', '6000' => '8999', '90000' => '94999'] ],
122962 => ['Hong Kong' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '86999', '8700' => '8999', '900' => '999'] ],
123963 => ['Hungary' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '9000' => '9999'] ],
124964 => ['Iran' => ['00' => '14', '150' => '249', '2500' => '2999', '300' => '549', '5500' => '8999', '90000' => '96999', '970' => '989', '9900' => '9999'] ],
125965 => ['Israel' => ['00' => '19', '200' => '599', '7000' => '7999', '90000' => '99999'] ],
126966 => ['Ukraine' => ['00' => '14', '1500' => '1699', '170' => '199', '2000' => '2999', '300' => '699', '7000' => '8999', '90000' => '99999'] ],
127967 => ['Malaysia' => ['00' => '29', '300' => '499', '5000' => '5999', '60' => '89', '900' => '989', '9900' => '9989', '99900' => '99999'] ],
128968 => ['Mexico' => ['01' => '39', '400' => '499', '5000' => '7999', '800' => '899', '9000' => '9999'] ],
129969 => ['Pakistan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
130970 => ['Mexico' => ['01' => '59', '600' => '899', '9000' => '9099', '91000' => '96999', '9700' => '9999'] ],
131971 => ['Philippines' => ['000' => '019', '02' => '02', '0300' => '0599', '06' => '09', '10' => '49', '500' => '849', '8500' => '9099', '91000' => '99999'] ],
132972 => ['Portugal' => ['0' => '1', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
133973 => ['Romania' => ['0' => '0', '100' => '169', '1700' => '1999', '20' => '54', '550' => '759', '7600' => '8499', '85000' => '88999', '8900' => '9499', '95000' => '99999'] ],
134974 => ['Thailand' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '90000' => '94999', '9500' => '9999'] ],
135975 => ['Turkey' => ['00000' => '00999', '01' => '24', '250' => '599', '6000' => '9199', '92000' => '98999', '990' => '999'] ],
136976 => ['Caribbean Community' => ['0' => '3', '40' => '59', '600' => '799', '8000' => '9499', '95000' => '99999'] ],
137977 => ['Egypr' => ['00' => '19', '200' => '499', '5000' => '6999', '700' => '999'] ],
138978 => ['Nigeria' => ['000' => '199', '2000' => '2999', '30000' => '79999', '8000' => '8999', '900' => '999'] ],
139979 => ['Indonesia' => ['000' => '099', '1000' => '1499', '15000' => '19999', '20' => '29', '3000' => '3999', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
140980 => ['Venezuela' => ['00' => '19', '200' => '599', '6000' => '9999'] ],
141981 => ['Singapore' => ['00' => '11', '120' => '299', '3000' => '9999'] ],
142982 => ['South Pacific' => ['00' => '09', '100' => '699', '70' => '89', '9000' => '9999'] ],
143983 => ['Malaysia' => ['00' => '01', '020' => '199', '2000' => '3999', '40000' => '44999', '45' => '49', '50' => '79', '800' => '899', '9000' => '9899', '99000' => '99999'] ],
144984 => ['Bangladesh' => ['00' => '39', '400' => '799', '8000' => '8999', '90000' => '99999'] ],
145985 => ['Belarus' => ['00' => '39', '400' => '599', '6000' => '8999', '90000' => '99999'] ],
146986 => ['Taiwan, China' => ['00' => '11', '120' => '559', '5600' => '7999', '80000' => '99999'] ],
147987 => ['Argentina' => ['00' => '09', '1000' => '1999', '20000' => '29999', '30' => '49', '500' => '899', '9000' => '9499', '95000' => '99999'] ],
148988 => ['Hongkong' => ['00' => '16', '17000' => '19999', '200' => '799', '8000' => '9699', '97000' => '99999'] ],
149989 => ['Portugal' => ['0' => '1', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
1509933 => ['Syria' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
1519934 => ['Latvia' => ['0' => '0', '10' => '49', '500' => '799', '8000' => '9999'] ],
1529935 => ['Iceland' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
1539936 => ['Afghanistan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
1549937 => ['Nepal' => ['0' => '2', '30' => '49', '500' => '799', '8000' => '9999'] ],
1559938 => ['Tunisia' => ['00' => '79', '800' => '949', '9500' => '9999'] ],
1569939 => ['Armenia' => ['0' => '4', '50' => '79', '800' => '899', '9000' => '9999'] ],
1579940 => ['Montenegro' => ['0' => '1', '20' => '49', '500' => '899', '9000' => '9999'] ],
1589941 => ['Georgia' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
1599942 => ['Ecuador' => ['00' => '89', '900' => '994', '9950' => '9999'] ],
1609943 => ['Uzbekistan' => ['00' => '29', '300' => '399', '4000' => '9999'] ],
1619944 => ['Turkey' => ['0' => '2', '300' => '499', '5000' => '5999', '60' => '89', '900' => '999'] ],
1629945 => ['Dominican Republic' => ['00' => '00', '010' => '079', '08' => '39', '400' => '569', '57' => '57', '580' => '849', '8500' => '9999'] ],
1639946 => ['Korea, P.D.R.' => ['0' => '1', '20' => '39', '400' => '899', '9000' => '9999'] ],
1649947 => ['Algeria' => ['0' => '1', '20' => '79', '800' => '999'] ],
1659948 => ['United Arab Emirates' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
1669949 => ['Estonia' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
1679950 => ['Palestine' => ['00' => '29', '300' => '840', '8500' => '9999'] ],
1689951 => ['Kosova' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
1699952 => ['Azerbaijan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
1709953 => ['Lebanon' => ['0' => '0', '10' => '39', '400' => '599', '60' => '89', '9000' => '9999'] ],
1719954 => ['Morocco' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
1729955 => ['Lithuania' => ['00' => '39', '400' => '929', '9300' => '9999'] ],
1739956 => ['Cameroon' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
1749957 => ['Jordan' => ['00' => '39', '400' => '699', '70' => '84', '8500' => '9999'] ],
1759958 => ['Bosnia and Herzegovina' => ['0' => '0', '10' => '49', '500' => '899', '9000' => '9999'] ],
1769959 => ['Libya' => ['0' => '1', '20' => '79', '800' => '949', '9500' => '9999'] ],
1779960 => ['Saudi Arabia' => ['00' => '59', '600' => '899', '9000' => '9999'] ],
1789961 => ['Algeria' => ['0' => '2', '30' => '69', '700' => '949', '9500' => '9999'] ],
1799962 => ['Panama' => ['00' => '54', '5500' => '5599', '56' => '59', '600' => '849', '8500' => '9999'] ],
1809963 => ['Cyprus' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9999'] ],
1819964 => ['Ghana' => ['0' => '6', '70' => '94', '950' => '999'] ],
1829965 => ['Kazakhstan' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
1839966 => ['Kenya' => ['000' => '199', '20' => '69', '7000' => '7499', '750' => '959', '9600' => '9999'] ],
1849967 => ['Kyrgyzstan' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
1859968 => ['Costa Rica' => ['00' => '49', '500' => '939', '9400' => '9999'] ],
1869970 => ['Uganda' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
1879971 => ['Singapore' => ['0' => '5', '60' => '89', '900' => '989', '9900' => '9999'] ],
1889972 => ['Peru' => ['00' => '09', '1' => '1', '200' => '249', '2500' => '2999', '30' => '59', '600' => '899', '9000' => '9999'] ],
1899973 => ['Tunisia' => ['00' => '05', '060' => '089', '0900' => '0999', '10' => '69', '700' => '969', '9700' => '9999'] ],
1909974 => ['Uruguay' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9499', '95' => '99'] ],
1919975 => ['Moldova' => ['0' => '0', '100' => '399', '4000' => '4499', '45' => '89', '900' => '949', '9500' => '9999'] ],
1929976 => ['Tanzania' => ['0' => '5', '60' => '89', '900' => '989', '9990' => '9999'] ],
1939977 => ['Costa Rica' => ['00' => '89', '900' => '989', '9900' => '9999'] ],
1949978 => ['Ecuador' => ['00' => '29', '300' => '399', '40' => '94', '950' => '989', '9900' => '9999'] ],
1959979 => ['Iceland' => ['0' => '4', '50' => '64', '650' => '659', '66' => '75', '760' => '899', '9000' => '9999'] ],
1969980 => ['Papua New Guinea' => ['0' => '3', '40' => '89', '900' => '989', '9900' => '9999'] ],
1979981 => ['Morocco' => ['00' => '09', '100' => '159', '1600' => '1999', '20' => '79', '800' => '949', '9500' => '9999'] ],
1989982 => ['Zambia' => ['00' => '79', '800' => '989', '9900' => '9999'] ],
1999983 => ['Gambia' => ['80' => '94', '950' => '989', '9900' => '9999'] ],
2009984 => ['Latvia' => ['00' => '49', '500' => '899', '9000' => '9999'] ],
2019985 => ['Estonia' => ['0' => '4', '50' => '79', '800' => '899', '9000' => '9999'] ],
2029986 => ['Lithuania' => ['00' => '39', '400' => '899', '9000' => '9399', '940' => '969', '97' => '99'] ],
2039987 => ['Tanzania' => ['00' => '39', '400' => '879', '8800' => '9999'] ],
2049988 => ['Ghana' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9999'] ],
2059989 => ['Macedonia' => ['0' => '0', '100' => '199', '2000' => '2999', '30' => '59', '600' => '949', '9500' => '9999'] ],
20699901 => ['Bahrain' => ['00' => '49', '500' => '799', '80' => '99'] ],
20799902 => ['Gabon' => [] ],
20899903 => ['Mauritius' => ['0' => '1', '20' => '89', '900' => '999'] ],
20999904 => ['Netherlands Antilles; Aruba, Neth. Ant' => ['0' => '5', '60' => '89', '900' => '999'] ],
21099905 => ['Bolivia' => ['0' => '3', '40' => '79', '800' => '999'] ],
21199906 => ['Kuwait' => ['0' => '2', '30' => '59', '600' => '699', '70' => '89', '9' => '9'] ],
21299908 => ['Malawi' => ['0' => '0', '10' => '89', '900' => '999'] ],
21399909 => ['Malta' => ['0' => '3', '40' => '94', '950' => '999'] ],
21499910 => ['Sierra Leone' => ['0' => '2', '30' => '89', '900' => '999'] ],
21599911 => ['Lesotho' => ['00' => '59', '600' => '999'] ],
21699912 => ['Botswana' => ['0' => '3', '400' => '599', '60' => '89', '900' => '999'] ],
21799913 => ['Andorra' => ['0' => '2', '30' => '35', '600' => '604'] ],
21899914 => ['Suriname' => ['0' => '4', '50' => '89', '900' => '949'] ],
21999915 => ['Maldives' => ['0' => '4', '50' => '79', '800' => '999'] ],
22099916 => ['Namibia' => ['0' => '2', '30' => '69', '700' => '999'] ],
22199917 => ['Brunei Darussalam' => ['0' => '2', '30' => '89', '900' => '999'] ],
22299918 => ['Faroe Islands' => ['0' => '3', '40' => '79', '800' => '999'] ],
22399919 => ['Benin' => ['0' => '2', '300' => '399', '40' => '69', '900' => '999'] ],
22499920 => ['Andorra' => ['0' => '4', '50' => '89', '900' => '999'] ],
22599921 => ['Qatar' => ['0' => '1', '20' => '69', '700' => '799', '8' => '8', '90' => '99'] ],
22699922 => ['Guatemala' => ['0' => '3', '40' => '69', '700' => '999'] ],
22799923 => ['El Salvador' => ['0' => '1', '20' => '79', '800' => '999'] ],
22899924 => ['Nicaragua' => ['0' => '1', '20' => '79', '800' => '999'] ],
22999925 => ['Paraguay' => ['0' => '3', '40' => '79', '800' => '999'] ],
23099926 => ['Honduras' => ['0' => '0', '10' => '59', '600' => '999'] ],
23199927 => ['Albania' => ['0' => '2', '30' => '59', '600' => '999'] ],
23299928 => ['Georgia' => ['0' => '0', '10' => '79', '800' => '999'] ],
23399929 => ['Mongolia' => ['0' => '4', '50' => '79', '800' => '999'] ],
23499930 => ['Armenia' => ['0' => '4', '50' => '79', '800' => '999'] ],
23599931 => ['Seychelles' => ['0' => '4', '50' => '79', '800' => '999'] ],
23699932 => ['Malta' => ['0' => '0', '10' => '59', '600' => '699', '7' => '7', '80' => '99'] ],
23799933 => ['Nepal' => ['0' => '2', '30' => '59', '600' => '999'] ],
23899934 => ['Dominican Republic' => ['0' => '1', '20' => '79', '800' => '999'] ],
23999935 => ['Haiti' => ['0' => '2', '7' => '8', '30' => '59', '600' => '699', '90' => '99'] ],
24099936 => ['Bhutan' => ['0' => '0', '10' => '59', '600' => '999'] ],
24199937 => ['Macau' => ['0' => '1', '20' => '59', '600' => '999'] ],
24299938 => ['Srpska' => ['0' => '1', '20' => '59', '600' => '899', '90' => '99'] ],
24399939 => ['Guatemala' => ['0' => '5', '60' => '89', '900' => '999'] ],
24499940 => ['Georgia' => ['0' => '0', '10' => '69', '700' => '999'] ],
24599941 => ['Armenia' => ['0' => '2', '30' => '79', '800' => '999'] ],
24699942 => ['Sudan' => ['0' => '4', '50' => '79', '800' => '999'] ],
24799943 => ['Alsbania' => ['0' => '2', '30' => '59', '600' => '999'] ],
24899944 => ['Ethiopia' => ['0' => '4', '50' => '79', '800' => '999'] ],
24999945 => ['Namibia' => ['0' => '5', '60' => '89', '900' => '999'] ],
25099946 => ['Nepal' => ['0' => '2', '30' => '59', '600' => '999'] ],
25199947 => ['Tajikistan' => ['0' => '2', '30' => '69', '700' => '999'] ],
25299948 => ['Eritrea' => ['0' => '4', '50' => '79', '800' => '999'] ],
25399949 => ['Mauritius' => ['0' => '1', '20' => '89', '900' => '999'] ],
25499950 => ['Cambodia' => ['0' => '4', '50' => '79', '800' => '999'] ],
25599951 => ['Congo' => [] ],
25699952 => ['Mali' => ['0' => '4', '50' => '79', '800' => '999'] ],
25799953 => ['Paraguay' => ['0' => '2', '30' => '79', '800' => '999'] ],
25899954 => ['Bolivia' => ['0' => '2', '30' => '69', '700' => '999'] ],
25999955 => ['Srpska' => ['0' => '1', '20' => '59', '600' => '899', '90' => '99'] ],
26099956 => ['Albania' => ['00' => '59', '600' => '999'] ],
26199957 => ['Malta' => ['0' => '1', '20' => '79', '800' => '999'] ],
26299958 => ['Bahrain' => ['0' => '4', '50' => '94', '950' => '999'] ],
26399959 => ['Luxembourg' => ['0' => '2', '30' => '59', '600' => '999'] ],
26499960 => ['Malawi' => ['0' => '0', '10' => '94', '950' => '999'] ],
26599961 => ['El Salvador' => ['0' => '3', '40' => '89', '900' => '999'] ],
266);
267
268# i cheat a little bit here. i know that that the max length is
269# 5, and that i know that those will start with 999xx. :)
270# however, if the data changes i should think about this again.
271$MAX_COUNTRY_CODE_LENGTH = length(
2721134µs184µs ( sort { $a <=> $b } keys %country_data )[-1]
# spent 84µs making 1 call to Business::ISBN::CORE:sort
273 );
274
275sub isbn_group_code_string_from_number
276 {
277 return $Business::ISBN::country_data{ $_[0] }[0] || '';
278 }
279
280sub isbn_publisher_ranges_from_group_number
281 {
282 return $Business::ISBN::country_data{ $_[0] }[1] || [];
283 }
284
2851266µs1;