Well, yes, it is allowed. Though i'm pretty sure not all programs parsing hashbangs know that.
But thanks for clarifying that. I should have written it that way in the first place...
Don't use '#ff0000':
use Acme::AutoColor; my $redcolor = RED();
All colors subject to change without notice.