now $a contains exactly amount of "s in the $_. though I suspect there is a better and shorter way$_ = 'a"b"c"d'; $a = () = /"/g;
In reply to Re: Perl Matching
by Lennotoecom
in thread Perl Matching
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |