Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    use Data::Dumper;
    ...
    my @contents = $string =~ /A (.*?) B/g;
    
    print Dumper \@contents;
    
  2. or download this
    $VAR1 = [
              'dun dun',
              'something'
            ];