On Tue, Jan 24, 2006 at 10:25:44PM -0500, David Golden wrote: > Jeffrey Thalhammer wrote: > >* Should a test script have a shebang? What should it > >be? Any flags on that? > > I often see "-t" in a shebang. One downside of the shebang, though, is > that it's not particularly portable. As chromatic said, with "prove" > it's not really necessary. ("prove -t")
-T or -t in a shebang tells Test::Harness or perl's TEST that perl needs to be run with that switch for the tests to test what they are supposed to test.