http://www.perlmonks.org?node_id=716413


in reply to The basics

can use #!/usr/binsh and #!/usr/bin/perl at the same time in the same file directly?

Replies are listed 'Best First'.
Re^2: The basics
by monkmoose (Initiate) on Jan 05, 2009 at 20:52 UTC
    Note:

    where perl

    Should instead read

    which perl

    Then enter the reported directory at the #! interpreter line.

      One could use #!/usr/bin/env perl?

        You're right. We had that discussion before, see 897028 for more information.

        Don't use '#ff0000':
        use Acme::AutoColor; my $redcolor = RED();
        All colors subject to change without notice.