in reply to Re: Re^2: A Matter of Style in CGI
in thread A Matter of Style in CGI

No, you cannot do that - The -M option cannot be used in shebang lines as it will generate an error. This option is intended for use only on the command line.

For example:

rob@kathmandu:~$ cat test.perl #!/usr/bin/perl -Mstrict -Tw print "foo!\n"; rob@kathmandu:~$ ./test.perl Too late for "-Mstrict" option at ./test.perl line 1.