[Moscow.pm] keys() и разыменование undef
Андрей Фёдоров
secrethost на gmail.com
Вт Ноя 19 02:25:07 PST 2013
2013/11/19 TheAthlete <theathlet на yandex.ru>
>
> Хотя в справке по keys:
>
> Starting with Perl 5.14, keys can take a scalar EXPR, which must contain a
> reference to an unblessed hash or array. The argument will be dereferenced
> automatically. This aspect of keys is considered highly experimental. The
> exact behaviour may change in a future version of Perl.
>
> Другими словами это экспериментальная фича.
Это о другом - keys($hash_ref), т.е без ручного разыменовывания.
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mail.pm.org/pipermail/moscow-pm/attachments/20131119/f655bddb/attachment-0001.html>
Подробная информация о списке рассылки Moscow-pm