Help for this page

Select Code to Download


  1. or download this
    use v5.12;
    use warnings;
    ...
    my @x= split',', q(a,a,a,a,b,c,c,a,a,d,e,e,e,e);
    
    print Dumper slide { $a ne $b ? $b : () } "", @x;
    
  2. or download this
    $VAR1 = 'a';
    $VAR2 = 'b';
    ...
    $VAR4 = 'a';
    $VAR5 = 'd';
    $VAR6 = 'e';
    
  3. or download this
    $VAR1 = 'a';
    $VAR2 = undef;
    ...
    $VAR12 = undef;
    $VAR13 = undef;
    $VAR14 = undef;