Группа :: Разработка/Perl
Пакет: perl-Context-Preserve
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 0.03-alt1.2
Время сборки: 22 апреля 2020, 18:42 ( 209.1 недели назад )
Размер архива: 29.43 Kb
Домашняя страница: http://search.cpan.org/dist/Context-Preserve/
Лицензия: GPL or Artistic
О пакете: run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 22 апреля 2020, 18:42 ( 209.1 недели назад )
Размер архива: 29.43 Kb
Домашняя страница: http://search.cpan.org/dist/Context-Preserve/
Лицензия: GPL or Artistic
О пакете: run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller
Описание:
Sometimes you need to call a function, get the results, act on the
results, then return the result of the function. This is painful
because of contexts; the original function can behave different if
it's called in void, scalar, or list context. You can ignore the
various cases and just pick one, but that's fragile. To do things
right, you need to see which case you're being called in, and then
call the function in that context. This results in 3 code paths,
which is a pain to type in (and maintain).
Текущий майнтейнер: Igor Vlasenko results, then return the result of the function. This is painful
because of contexts; the original function can behave different if
it's called in void, scalar, or list context. You can ignore the
various cases and just pick one, but that's fragile. To do things
right, you need to see which case you're being called in, and then
call the function in that context. This results in 3 code paths,
which is a pain to type in (and maintain).
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- perl-Context-Preserve