Paul T. provides a good answer regarding the case where the height of the bottoms of the poles are the same (which is what was asked for in the question). The main difference in that case is due to the different heights of the centers of mass of the two rods.
However, you might ask, what if the centers of mass of the two rods were at the same height, would there still be a difference? It turns out that there will be, although the difference is even smaller.
Let $m$ and $l$ be the mass and length of a vertical rod of uniform density, and $r$ the height of its center from the center of the planet. The planet's mass is $M$. Consider a tiny piece of the rod, of mass $\delta m$ and distance $x$ from the rod's center (so $x$ is between $-l/2$ and $+l/2$). The force of gravity on the tiny piece is:
$$\delta F=\frac{GM\delta m}{(r+x)^2}$$
The total force on the rod is the integral of $\delta F$ over the whole mass:
$$F=\int\frac{GM}{(r+x)^2}dm$$
The mass of the small piece is proportional to its length ($m/l=\delta m/\delta x$) so we can substitute $dx$ for $dm$ with the appropriate scaling:
$$F=\int_{-l/2}^{+l/2}\frac{GM}{(r+x)^2}\left(\frac{m}{l}dx\right)$$
Doing the integral yields:
$$\begin{align}
F&=-\frac{GMm}{l}\left.\frac{1}{r+x}\right|_{x=-l/2}^{+l/2} \\
&=-\frac{GMm}{l}\left(\frac{1}{r+l/2}-\frac{1}{r-l/2}\right) \\
&=-\frac{GMm}{l}\left(\frac{(r-l/2)-(r+l/2)}{(r+l/2)(r-l/2)}\right) \\
&=-\frac{GMm}{l}\left(\frac{-l}{r^2-(l/2)^2}\right) \\
&= \frac{GMm}{r^2-(l/2)^2}
\end{align}$$
This is almost the same value as if the mass of the rod was concentrated at its center (in which case it would be just $GMm/r^2$). Like Paul T., let's look at the relative difference:
$$
\frac{\frac{GMm}{r^2-(l/2)^2}-\frac{GMm}{r^2}}{\frac{GMm}{r^2}}
= \frac{(r^2)-(r^2-(l/2)^2)}{r^2-(l/2)^2}
= \frac{(l/2)^2}{r^2-(l/2)^2}
\approx \left(\frac{l}{2r}\right)^2
$$
Compare this to the case where we measure $r$ from the end of the pole, where the relative difference (between a rod and a point) was just $l/r$. If the end case had a difference of on part per million, the center case will have a difference of less than one part per trillion!