http://qs1969.pair.com?node_id=11108461


in reply to Strict and warnings: which comes first?

I usually make those the first two non-comment non-blank lines in the file; and I put use strict; first as a matter of aesthetic taste — that both puts them in alphabetical order and gives a nice visual lead towards the right, where the later use statements are likely to end, since most module names are longer than warnings.

Example:

use strict; use warnings; use Storable;

Some very useful modules break this pattern:

use strict; use warnings; use DBI; use Tk;