∵|a-3|≥0,(b+1)2≥0,且|a-3|+(b+1)2=0,∴a-3=0且b+1=0,解得:a=3,b=-1.由题意得:
2b-a+m2=12
b-a+m+1,即:
-5+m2=-12-3+m+1,
m-52=m-52,解得:m=0,∴m的值为0.