Program to reformat Perl code?

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default Program to reformat Perl code?

    I have some fairly ugly Perl code which I generated sort of ad-hoc from a
    "file descriptor" file. I.e. I wrote a program which wrote a program. The
    C language has a prettyfier to restructure the C code into something
    easier to read. Is there a similar program for Perl?


    --
    Maranatha!
    John McKown


    John McKown Guest

  2. Similar Questions and Discussions

    1. Please help me on the following perl program
      In my perl program i am sending mail using the following program use NET::SMTP; $smtp_handle = new NET::SMTP(Host=>'mail_host' , Hello=>'',...
    2. embedding perl in C++ program
      Hello, I am trying to embed perl in my C++ program. My application needs to evaluate different very simple perl programs. These perl programs...
    3. Perl program need in regular expression
      I want a program can read a log file and capture the character seg=9543 The file log line like this ...
    4. Executable perl program help!!
      How can i generate such a file?
    5. Help request for CDO/OLE Perl program
      Looks like I've shot off again too quickly ... The variable returned needs to be dereferenced. For those interested, here's the fix: ...
  3. #2

    Default RE: Program to reformat Perl code?


    > -----Original Message-----
    > From: John McKown [mailto:joarmc@swbell.net]
    > Sent: Wednesday, February 04, 2004 1:28 PM
    > To: Perl Beginners Mailing List
    > Subject: Program to reformat Perl code?
    >
    >
    > I have some fairly ugly Perl code which I generated sort of
    > ad-hoc from a
    > "file descriptor" file. I.e. I wrote a program which wrote a
    > program. The
    > C language has a prettyfier to restructure the C code into something
    > easier to read. Is there a similar program for Perl?
    >
    >
    > --
    > Maranatha!
    > John McKown

    [url]http://perltidy.sourceforge.net/[/url]
    Toby Stuart Guest

  4. #3

    Default RE: Program to reformat Perl code?


    Look for PerlTidy.



    -----Original Message-----
    From: John McKown [mailto:joarmc@swbell.net]
    Sent: Tuesday, February 03, 2004 6:28 PM
    To: Perl Beginners Mailing List
    Subject: Program to reformat Perl code?

    I have some fairly ugly Perl code which I generated sort of ad-hoc from
    a "file descriptor" file. I.e. I wrote a program which wrote a program.
    The C language has a prettyfier to restructure the C code into something
    easier to read. Is there a similar program for Perl?
    Tim Johnson Guest

  5. #4

    Default RE: Program to reformat Perl code?

    On Wed, 4 Feb 2004, Toby Stuart wrote:
    >
    > [url]http://perltidy.sourceforge.net/[/url]
    >
    Got it! Works! Thanks much!

    --
    Maranatha!
    John McKown

    John McKown Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139