This idea was passed along in our Garden Club newsletter this month. I have a yard, but the sunny side has the absolute worst soil and the moles are a constant nuisance. I would also suggest using these along a deck/balcony railing or a fence. I'm sure there are some kinds of clips that could be used to avoid damage.
Some info can be found in this news article: