Help for this page

Select Code to Download


  1. or download this
      DB<1> $x = "a\n";
    
    ...
    
      DB<3> print $x
    1
    
  2. or download this
    $ perl -E 'my $x = "a\n";  $x = chomp $x; say $x'
    0
    
  3. or download this
    $  perl -E 'my $x = "a\n"; my $y = chomp $x; say $y;'
    1
    
  4. or download this
    $x = chomp $x;
    
  5. or download this
    $c = ++$c;