#!/bin/env perl I think #!/usr/bin/env perl would stand an even better chance. (I don't know of a specific system with env only in /usr/bin, but I've seen that used/recommended elsewhere.)