Help for this page

Select Code to Download


  1. or download this
      if ( $elt ne "and" )
      {
    ...
      {
         $counter++;
      }
    
  2. or download this
    use strict;
    use warnings;
    ...
      }
    }
    print "counter = $counter\n", Dumper(\@bucket);
    
  3. or download this
    counter = 2
    $VAR1 = [
    ...
                9
              ]
            ];
    
  4. or download this
    use strict;
    use warnings;
    ...
    my $things = 'this and that and another brigand and a bandicoot';
    my @bucket = split /\band\b/, $things;
    print Dumper(\@bucket);
    
  5. or download this
    $VAR1 = [
              'this ',
    ...
              ' another brigand ',
              ' a bandicoot'
            ];