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 reply to Re^3: Problem with Pseudohash
by choroba
in thread Problem with Pseudohash
by uday_sagar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |