I'm trying to put verbatim text inside a node (in a beamer frame):
\begin{frame}[fragile]{P}
\tikzstyle{cell} = [rectangle, draw, thin , fill=black!10 , minimum size=5mm]
\begin{tikzpicture}[node distance=3cm, auto,>=latex', thick, overlay]
\path[->,draw]<1-> node[cell] (p) {Text at \verb!p!};
\end{tikzpicture}
\end{frame}
But it doesn't compile and produces an error. If one replaces \verb!p! with anything else, like "p", it compiles. Note that I also tried to put
"fragile" in the frame options. Thank you in advance!

article) document class? – Caramdir Apr 02 '12 at 23:10\texttt{p}? – Torbjørn T. Apr 02 '12 at 23:25