- or download this
use strict;
use Data::Dumper ;
...
}
print Dumper( \@db_list_two ), "\n\n" ;
- or download this
my @db_list3 = $text_two =~ /$start(.*?)$end/gi;
my $matches3 = @db_list3;
- or download this
my $text = 'whatever...';
my ($start, $end) = qw( /\*<DATABASE>\*/ /\*</DATABASE>\*/ );
my $matches = my @db_list = $text =~ /$start(.*?)$end/gi;