Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    say "$x-$y";
    testing($y);
    say "$x-$y";
    
  2. or download this
    x-x
    y-y   <-- Changed both $x and $y
    
  3. or download this
    for (1..2) {
       my $y = "x";
       say $y;
       testing($y);
    }
    
  4. or download this
    x
    y     <-- Changed the constant!