Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 412961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:08:13+00:00 2026-05-12T18:08:13+00:00

I am using Data::Dumper::Dumper() method. The output is good, but can be made little

  • 0

I am using Data::Dumper::Dumper() method. The output is good, but can be made little compact and more good looking.

How I can control it? What are the better alternatives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T18:08:14+00:00Added an answer on May 12, 2026 at 6:08 pm

    Take a look at Data::Dump for something similar to Data::Dumper but arguably better at pretty printing.

    Edit (20120304): I had completely forgotten this question, but it was upvoted today and that jogged my memory. If I had to recommend anything today (3 years later) for pretty printing in Perl, I would certainly go with Data::Printer. From Data::Printer’s own Rationale:

    Data::Dumper is a fantastic tool, meant to stringify data structures in a way they are suitable for being eval‘ed back in.

    The thing is, a lot of people keep using it (and similar ones, like Data::Dump) to print data structures and objects on screen for inspection and debugging, and while you can use those modules for that, it doesn’t mean mean you should.

    This is where Data::Printer comes in. It is meant to do one thing and one thing only:
    display Perl variables and objects on screen, properly formatted (to be inspected by a human)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ActivePerl 5.8 on Windows XP. use strict; use warnings; use Data::Dumper; There
I'm writing a program in C++ but using data from matlab involving Cross Correlation.
I have a very simple WPF application in which I am using data binding
I'm using System.Data.Linq.DataContext file for accessing a mdf Database I want to use the
I am using temp data as follow in my controllers - very simple, when
I'm using System.Data.OracleClient.OracleCommand to create a table and fill it out with some data.
I'm using the data mapper pattern in a PHP app I'm developing and have
I am programmatically exporting data (using PHP 5.2) into a .csv test file. Example
Generally I connect and retrieve data using the standard way (error checking removed for
Is SSL secure enough for using sensitive data (like password) in query string? Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.