Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Preferred output for development tool

by Wassercrats (Initiate)
on May 06, 2004 at 19:19 UTC ( [id://351255]=perlquestion: print w/replies, xml ) Need Help??

Wassercrats has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Preferred output for development tool
by flyingmoose (Priest) on May 06, 2004 at 20:23 UTC
    I still don't see the need to emulate reset (or your buggy code, or why one program does two completely different things), but I understand this has been a looooooooong battle for you. I suggest you read up on some code-refactoring techniques. Some of it is rather obvious, but it may help you try to understand what we are saying and why your antiquated ways need to change. Also read up on error handling, design driven development, and so on. And debugging! If you want to watch values, use a debugger or instrument debugging hooks.

    To be constructive, I'll give some feedback. I like to chain GNU tools together, and parse things (running items through sort and grep and such), so I'd do something like the following to keep parsing simple. Shiny output is of little use to machines.

    iteration    variable    value
    1            abcdef      foo
    1            bbcdef      bar
    2            sheep       zebra
    

    or is there hope for my module?
    I see little hope. Especially in that you still have a few subroutines and don't even have a module yet.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Preferred output for development tool
by perrin (Chancellor) on May 06, 2004 at 20:41 UTC
Re: Preferred output for development tool
by waswas-fng (Curate) on May 06, 2004 at 20:26 UTC
    The text boxes would all be the same size so everything will line up. I could do this with CGI, but I don't know how acceptable that would be for the average programmer.

    I thought that it had already been covered that an "Average" programmer would be better suited using localized variables in the first place instead of your rehash of reset.


    -Waswas
      corollary -- he's the only one who is going to use this tool, so it doesn't matter what he does with the output.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Preferred output for development tool
by Anonymous Monk on May 06, 2004 at 21:47 UTC
    Seriously, the best approach to this is to remove your script from PerlMonks, ensure it exists in only one location (say, a 1.44 inch floppy) and then put it out of its misery in a humane fashion (maybe toss it into a river?). To quote a phrase from an ex-housemate of mine - and not wishing to offend any esteemable monks - "you can't polish a turd".
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://351255]
Approved by Thelonius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found