Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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

by Khen1950fx (Canon)
on Nov 01, 2011 at 10:14 UTC ( #935084=note: print w/ replies, xml ) Need Help??

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

Your ordering is good. As for me, I try to order in a stair-step fashion, left to right, strict first and warnings second, but that's just my habit.

#!/usr/bin/perl use strict; use warnings; use utf8; use Coro; use AnyEvent; use YAML::Any; use Net::Twitter; use namespace::autoclean; use Data::Visitor::Callback; use AnyEvent::Twitter::Stream; use DateTime::Format::Strptime; use LWP::Protocol::AnyEvent::http; use Log::Log4perl qw(:easy); Log::Log4perl->easy_init($DEBUG); use Moose; has 'twitter' => ( is => 'rw', required => 1, isa => 'Net::Twitter', ); has 'listener' => ( is => 'rw', required => 1, isa => 'AnyEvent::Twitter::Stream', ); has 'mongo' => ( is => 'rw', required => 0, isa => 'MongoDB::Database', );

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://935084]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-28 05:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (738 votes), past polls