Help for this page

Select Code to Download


  1. or download this
    $ perl5120 -wE'my $x=1; given ($x) { $_ = 2 } say $x'
    1
    $ perl5120 -wE'my $x=1; for ($x) { $_ = 2 } say $x'
    2