Hi,
I have a line that looks like
var1='1' var2="2" var3="3" and so on
The ' and " are interchangeable as long as the begin quote and end quote are the same. Like '1' and "2" are valid, but not "1' or '2". Is there a way this line and say it is a valid line? I think the bottom line is figure out what my begin quote is, so I know what to look for in my end quote. I thought about using $1 and $2, but that doesn't seem to work. I see something similar in http://www.perlmonks.org/?node_id=698062, but that one uses 1 set of quote. Any help would be appreciated.
Thanks,
R