Skip to content
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update perlsecret.ru.pod
  • Loading branch information
mishin committed Oct 10, 2014
commit 9a291339b897a7fc7534a303ecf8a8175b86510f
16 changes: 8 additions & 8 deletions lib/perlsecret.ru.pod
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,20 @@ Perl обфускаторами и Perl гольфистами, обычно п
print "площадь: $_\n";
}

With the babycart, the topic is an actually modifiable copied scalar.
С детской коляской (babycart) изменяемые данные фактически копируются в скаляр.

for ( @{[ qw( 1 2 3 ) ]} ) {
$_ = $_ * $_; # contrived
print "square: $_\n";
$_ = $_ * $_; # надуманный
print "площадь: $_\n";
}

This is a I<container>, or I<circumfix> operator. The expression
inside the C<[]> is run in list context, stored in an anonymous array,
which is immediately dereferenced by C<@{}>.
Это I<контейнер>, или I<окаймляющий> (I<циркупфикс>) operator. Выражение внутри
C<[]> выполняетс в списочном контексте и сохраняется в анонимном массиве,
который сразу разыменовывается с помощью C<@{}>.

You will see this occasionally in production code.
Вы это иногда увидите в рабочем коде.

=head2 Bang bang
=head2 2 удара Bang bang

!!

Expand Down