reagrding Matching scalars
Posted on 2004-08-04
I have two questions. I have input that I have to sort from a command that I issue on a router. here it is
avlist = base_CD02S1A, networking_CD02S1A framerelay_CD02S1A
now I need to check that "avlist = base_CD02S1A is present so I do this
$os_ver='avlist = base_CD02S1A';
I am not geting the right match is there a better way to mathc this with regular expressions so only the input that I need is retrieved into $output or is am I matching this wrong.