[Catalyst] data::dump vs data::dumper

Marcello Romani mromani at ottotecnica.com
Thu Jul 6 11:59:33 CEST 2006


Chisel Wright ha scritto:
> On Thu, Jul 06, 2006 at 09:28:23AM +0200, Marcello Romani wrote:
>> FWIW, I prefer Data::Dump over Data::Dumper, too.
> 
> I was thinking about this a little last night.
> 
> How about leaving the dumper() method as-is (since Data::Dumper is core
> I believe) and adding a new method dump() - which is in keeping with the
> Data::Dump function name?
> 
> This then doesn't affect anyone who's happy with Dumper, and opens it up
> for people who prefer Dump.
> 
> Chisel

The (beginners') docs could mention dump() instead of dumper(), or at 
least state that dumper() is deprecated in favour of dump().

-- 
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.com



More information about the Catalyst mailing list