develooper Front page | perl.perl5.porters | Postings from October 2003

Too late for "-M..."

Thread Next
From:
Alexey Tourbin
Date:
October 31, 2003 10:33
Subject:
Too late for "-M..."
Message ID:
20031031183255.GO1820@julia.office.altlinux.ru
Here is another sort-of-problem.

$ >test.pl
#!/usr/bin/perl -MCarp
1;
^D
$ perl -MCarp -c test.pl
Too late for "-MCarp" option at test.pl line 1.
$

It's not a problem for something like -T, though:

$ >test.pl
#!/usr/bin/perl -T
1;
^D
$ perl -T -c test.pl
test.pl syntax OK
$

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About