in reply to Perl Package & Curl

You need to put
use WWW::Curl::Easy; use Data::Dumper; use XML::DOM;
in package because of Exporter (all those modules export something)

Why wait to bless your single possible object in sub new?

Replies are listed 'Best First'.
Re^2: Perl Package & Curl
by Bloodnok (Vicar) on Dec 15, 2008 at 15:23 UTC
    What the AM is trying to tell you is you should've written
    { package accounts; use warnings; use strict; use WWW::Curl::Easy; use Data::Dumper; use XML::DOM; . . .
    since, as written, the OP would have the used modules export into the main namespace, not the accounts namespace as required ... an error about which the strictures would've let you know PDQ.

    A user level that continues to overstate my experience :-))