Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Data::Delta module proposal

by Tux (Monsignor)
on Jul 31, 2013 at 15:31 UTC ( #1047286=note: print w/ replies, xml ) Need Help??


in reply to Re: Data::Delta module proposal
in thread Data::Delta module proposal

I do not agree. There are a few modules in that namespace that I use on a very regular basis that do exactly what the name suggests :)

Data::Dumper, Data::Peek, Data::Dump, and Data::Dump::Streamer just to name a few.


Enjoy, Have FUN! H.Merijn


Comment on Re^2: Data::Delta module proposal
Re^3: Data::Delta module proposal
by tobyink (Abbot) on Jul 31, 2013 at 16:37 UTC

    Data::Dumper is a case in point. It's a dumper for Perl variables, not data more generally. Can it be used as a drop-in replacement for PostgreSQL's pg_dump command? Not without loading that data into Perl variables first. Calling it "Variable::Dumper" would have been more descriptive.

    Data::Dumper isn't an absolutely awful name for what it does, but there are better names that could have been chosen. Virtually all modules deal with data in some way; that doesn't mean that virtually all modules should sit in the Data:: namespace.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-12-27 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls