Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Sensible ordering of 'use' (if any)

by Anonymous Monk
on Nov 01, 2011 at 11:31 UTC ( #935097=note: print w/ replies, xml ) Need Help??

in reply to Sensible ordering of 'use' (if any)

I put both strict & warnings pragmas listed first on a single line. Rest are alphabetically sorted.

That will be followed by other pragmas in a group, which will be followed by group of modules. If the list is "large enough" and/or list has highly unrelated modules, modules will be divided into subgroups by function.

Above could be then ...

use strict; use warnings; use utf8; use namespace::autoclean; use AnyEvent; use AnyEvent::Twitter::Stream; use Coro; use LWP::Protocol::AnyEvent::http; use Net::Twitter; use Data::Visitor::Callback; use DateTime::Format::Strptime; use YAML::Any; use Log::Log4perl qw(:easy);

Comment on Re: Sensible ordering of 'use' (if any)
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935097]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2016-02-12 22:38 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (414 votes), past polls