Apr. 15th, 2009

shoorick: (Default)
Долго не мог понять, зачем в некоторых перломодулях ключи у хэшей начинаются с минуса. И только сейчас нашёл в perldoc perlmodstyle:
The use of hash keys starting with a hyphen (-name) or entirely in upper case (NAME) is a relic of older versions of Perl in which ordinary lower case strings were not handled correctly by the => operator. While some modules retain uppercase or hyphenated argument keys for historical reasons or as a matter of personal style, most new modules should use simple lower case keys.
Век живи — век учись…

Profile

shoorick: (Default)
shoorick

December 2016

S M T W T F S
    1 23
45678910
11121314151617
18 19 2021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 01:38 pm
Powered by Dreamwidth Studios