in reply to Re^2: Problem with Pseudohash
in thread Problem with Pseudohash
OK, you have a string
Are you interested in type1 only? Usemy $content = "\n" . 'type1="scientific" type2="technical"';
Are you interested whether scientific is present? Usemy ($type1) = $content =~ /type1="([^"]+)"/;
my $is_sceintific = $content =~ /type[0-9]*="scientific"/;
In Section
Seekers of Perl Wisdom