Perl doesnt have the buffer overflow problem because it automaticly resizes arrays for the data. C is known for these overflows because of the low level memory access that it is capable of. Here are some articles on the topic:
Computer World
Search Security