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 1099761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:46:53+00:00 2026-05-17T00:46:53+00:00

I really like my Perl code formatted – lines indented, etc. The problem is

  • 0

I really like my Perl code formatted – lines indented, etc. The problem is I hate doing it myself, and I really enjoy auto-formatters that do this automatically for you.

I work with Eclipse and the EPIC plugin does just that. The problem is that it does not handle comments very well. If comments are too long, it does not break them into multiple lines but simply shifts them to the beginning of the line, so the indention is not right at all.

Also, it keeps code lines about 80 characters long, which sometimes makes things ugly. From my school days I remember that too long line are bad, but now I wonder if perhaps it’s better to just leave long lines as-is.

What do you say? any suggestions on how to format my Perl code under Eclipse (or in general)?

UPDATE

Eclipse’s EPIC plugin also uses perl tidy. Any idea on how to make perl tidy break long code lines, but if it can’t (e.g. long string) still indent them as normal and allow them to be longer (instead of indenting them all the way to the left as is the default?

  • 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-17T00:46:53+00:00Added an answer on May 17, 2026 at 12:46 am

    For a non IDE solution then have a look at Perl::Tidy.

    This module is good at beautifying your Perl code into whatever style you have a preference with. However not sure that it has a long line/comment fixer though? (Disclaimer: I don’t use Perl::Tidy because I’m happy with the way TextMate & Vi(m) handle my Perl code).

    For an alternative IDE solution then have a look at Padre, the Perl Application Development and Refactoring Environment.

    Padre is self hosting (ie. written in Perl5), cross platform (uses wxWidgets for GUI) and works with Perl5 & Perl6 (rakudo).

    Here are some videos:

    • Padre, the Perl IDE: Building an open source team, getting the project to users against the odds (from FOSDEM 2010)
    • Context Sensitive Help with Padre, the Perl IDE
    • 2nd birthday of Padre, the Perl IDE – use IRC

    /I3az/

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

Sidebar

Ask A Question

Stats

  • Questions 540k
  • Answers 540k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Sure, with something like: copy original.txt temp.txt echo.SOME TEXT TO… May 17, 2026 at 2:32 am
  • Editorial Team
    Editorial Team added an answer You don't need to escape the single quotes. $sql =… May 17, 2026 at 2:32 am
  • Editorial Team
    Editorial Team added an answer If you have your number as an integer, you could… May 17, 2026 at 2:32 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a piece of Perl code somewhat like the following (strongly simplified): There
This is weird and I'm not sure who the culprit really is. I'm doing
I'm looking for an elegant way to denote undefined values in situations where formatted
Currently i'm using pretty much Unix + Mysql + Perl + Apache with some
In my new job more people are using Python than Perl, and I have
I have php scripts that call perl scripts to do various things and sometimes
What? Perl Beautiful? Elegant ? He must be joking! It's true, there's some ugly
Okay, so I'm using perl to read in a file that contains some general
A friend's server (yes, really. Not mine.) was broken into and we discovered a
Someone has recently demonstrated to me that we can print variables in Python like

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.