in reply to Shell scripts and perl

A typical textbook (and quite valid answer) is "when perl is not available on the target platform/maschine".