http://perldoc.perl.org/perlref.html#Making-References (3):
The leading +{ and {; always serve to disambiguate the expression to
mean either the HASH reference, or the BLOCK.

On 09/14/2013 01:26 PM, Konstantin S. Uvarin wrote:
> Приветствую.
> 
>> И вот совсем жесть. 
>>
>> bash$ perl -we 'require URI::Escape; my $x =
>> uri_escape{ "URI::Escape" }; print $x;'
>>
>> URI%3A%3AEscape
> 
> Всё, дошло. Это чтобы можно было сделать 
> 
> bash$ perl -wle 'print { "STD"."OUT" } "xx"'
> xx
> 
-- 
Moscow.pm mailing list
[email protected] | http://moscow.pm.org

Ответить