Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
Replies are listed 'Best First'.
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 making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-31 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls