The shell itself is a programming language, it has construct and everything because well, it is a programming language.
I am not a fan of the bourne shell syntax but you can write fairly large programs on it, and the idea itself of using other programs and piping it at the core and heart of unix.
Perl is tied with any modern unix for historical reasons, but it has been criticized for not really following the principles of unix really well.