Step 1: Test the options
Put $p=-4$: $\bar{a}\cdot\bar{b}=-8+2+6=0$.
Step 2: Check another option
For $p=4$, the dot product is $8+2+6=16$, not zero.
Step 3: Conclude
Only $p=-4$ gives zero, and options with $p=2$ or $p=-2$ give $12$ and $4$.
Final Answer:
The correct value is $p=-4$.
\[ \boxed{\text{(A) }p=-4} \]