Help for this page

Select Code to Download


  1. or download this
    my %values = ($string =~ /(SECTION \d+)\s+(.*?)/sg);
    
  2. or download this
    my $string = <<STR;
    
    ...
    use Data::Dumper;
    my %values = ($string =~ /(SECTION \d+)\s+(.*?)/sg);
    print Dumper \%values;