Hi Parag!

In addition to what Shawn said, here is what I know.

On Wednesday 23 Dec 2009 14:53:51 Parag Kalra wrote:
> Hello All,
> 
> Uptil now I have been coding fairly simple Perl scripts.
> 
> Lately I have started designing some complex scripts. And I always felt
>  that if you place the logic and flow of the script on paper first then
>  coding part is simplified to a great extent. And uptil now I have mainly
>  used pen and paper for it. :)
> 
> Was just wondering if there is any graphical tool (of course opensource :))
> specific to Perl to design the flow of the Perl script projects before we
> actually start coding it.

I'm not aware of any tools specific to Perl, at least not open-source. 
However, there are some more generic tools that can be used for Perl code.

> 
> Using it I should be able to design something similar to flowcharts and
> should be able to share it with others to get it reviewed.
> 
> So just wanted to know which tool does Perl developers use in general to
> design the flow of the Perl projects.
> 

Well, I personally am aware of the following:

1. http://www.inkscape.org/ - a wonderful drawing program, but may not be very 
suitable for diagrams. In a very good shape and under active development. You 
should check it out and play with it anyway because it's very useful.

2. http://projects.gnome.org/dia/ - a diagram editor (similar to Visio) that 
can do UML diagrams. Has many quirks and missing features, and has been 
suffering from a lot of neglect. It still may be of some use though.

3. http://www.koffice.org/kivio/ - similar to Dia only part of the KDE 
project. Haven't really taken a look at it for a long time.

4. http://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools - 
contains a list to many open source UML programs. Don't know if any of them 
support Perl, but you can always create a UML diagram and then translate it to 
Perl manually.

--------------------

I should note that I've only tried using Dia and Inkscape for some simple 
diagrams so far. I don't normally draw extensive diagrams for my code, and 
just let it evolve "organically" - with a lot of mental design, refactoring 
and maybe some informal diagrams. 

Shawn's point about data-structures vs. algorithms is instructive, especially 
considering:

http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-
bazaar/ar01s06.html

(short URL - http://xrl.us/bgq2zj ).

The tools I mentioned should allow you to model data-structures too, though.

Regards,

        Shlomi Fish

> Cheers,
> Parag
> 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

Bzr is slower than Subversion in combination with Sourceforge. 
( By: http://dazjorz.com/ )

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to