i want a tool for perl script for reengineering. Specifically, how to flow Diagram an existing Perl script.
(Edited/cleaned up and moved from knowledge base.)
Are you talking about creating a flow chart? If so, I currently use Visio and would recommend it.
If you're talking about some tool to automatically create a flow chart of existing Perl code, I don't know of any. When I need to create a flow chart of a complex section of code that has if statements, and loops, and jumps all over the place, I just go through it line by line.
I have both perl.exe and wperl.exe installed. Which one should I configure .cgi and .pl perl scripts too? Currently I have it set to perl.exe. , , What's the diff?
my $pid = fork();, , The parent's $pid will contain the process ID of the child, the child's $pid will contain 0, if the system is out of resources and cannot fork another process it will be undefined., , Logically check the value to have each process run through different code., , if ($pid == 0), {, # the child does something, }, else, {, # the parent does something, }
Ive followed the instructions at namehog.net:, http://www.namehog.net/support/formemail.htm , to put a form on my webpage. But it doesnt work. I get this error message....could anyone help??, , CGIWrap encountered an error while attempting to execute this script: , , Error Message: No such file or directory , Error Number: 2 , This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. , If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/.
I need to add a kick option to a chat program I am making.I was wondering how can you get the server to read from a list box (ban list) or how I could close a single slients connection to the server?Any help on either of these would be appreciated, , Insanity