Noise function or any kind of randomization?

I am modeling a road and want to set wire poles along the road. Did it with array along a curve modifier. Now I would like to give each pole a bit of a random tilt. Is there any script or something to do it automatically? Maybe a kind of transformed connection to displace and noise texture or something?