AS
Думаю, что там иногда бывает JIT. Это то, что планировалось услышать/прочитать в ответ?
Size: a a a
AS
AR
use utf8;
use feature 'unicode_strings';
use strict;
use warnings;
...
$tariff = текст прочитаный из файла с наименованиями тарифов
if ( grep( /^$tariff$/i, @tariffs ) == 0 ) {
push @tariffs, $tariff;
}
K
AR
if ( open($fh, $txt_data_file) ) {
while (my $row = <$fh>) {
chomp $row;
($avt,..........) = split(/;/, $row);
AR
AR
foreach $tt (@tariffs) {
$tfound=1 if (uc($tt) eq uc($tariff));
last if ($tfound);
};
AR
K
AR
K
AR
K
P
P
IB
foreach $tt (@tariffs) {
$tfound=1 if (uc($tt) eq uc($tariff));
last if ($tfound);
};
AR
P
AR
AP
AP