Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Perl: Общие вопросы > Вопрос из теста по perl - switch


Автор: ll75 8.4.2017, 18:39
Вопрос из теста по perl - switch

Код

What does the switch syntax :f do?

1.    It allows the option to be negated
2.    It sets the default syntax
3.    It sets the input option to include an optional real-number argument
4.    It sets the input option to include an optional integer argument
5.    It sets the input option to include a mandatory real-number argument



Что-то на https://metacpan.org/pod/Switch про :f ни слова... Может не тот switch имеется в виду?

Автор: reiserford 8.4.2017, 19:12
Вопрос не имеет оношение к оператору switch, судя по контексту ответов от вас ожидают ответ вот отсюда https://metacpan.org/pod/Getopt::Long#f

Автор: ll75 10.4.2017, 12:38
спс, теперь понятно стало...

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)