Hello All
I am having problem figuring out how to match two patterns. I have two
pattern and I would like to now if they are the same or if one of them
is a sub pattern of the other. Ej:
$pattern1=[agpr]oprs[cd]xxxxx9;
$pattern2=[agpr]oprs;
$pattern3=aors;
$pattern2 is a "subpattern" of $pattern1, and $pattern3 is completely
different form 1 or 2.
I was trying with If ($paternn1=~/$pattern2/){do somthing . .. }
put it just works if the left side is a string, with a pattern it does
not work
Some ideas??
Thanks in advance
Diego Riano
--
_______________________________________
Diego Mauricio Riano Pachon
Biologist
Institute of Biology and Biochemistry
Potsdam University
Karl-Liebknecht-Str. 24-25
Haus 20
14476 Golm
Germany
Tel:0331/977-2809
http://bioinf.ibun.unal.edu.co/~gotem
http://www.geocities.com/dmrp.geo/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]