It is interesting that PHP is ruled out as insecure. I am not sure that for system administration tasks modern PHP is particularly worse than Perl and these days more people know PHP than Perl.
It lets you parse INI files in a single call for eg.
Perl has some easy oneliners too. Depending on where I'm working sometimes I don't want to set up an environment.