I.T. Discussion Community!
-Collapse +Expand
Perl
Search Perl Group:

Advanced
-Collapse +Expand Perl To/From
To/FromCODEGuides
-Collapse +Expand Perl Store
PRESTWOODSTORE
   ► MB LobbyAll Groups   Print This    All Groups  

Perl Coding Message Board

Perl Q&A

Perl Coding Message Board (Q&A). Free help! Answer questions. Part of our Perl Group. This group is the those interested in the Perl scripting language.

To start a new thread, choose a topic, then click [New Thread].

Perl Specific Topics

TopicThreadsPostsLast Active Thread 
Perl612
kmsvge
How to flow Diagram an existing Perl script
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.)
11 years ago
Nothing New Since Your Last Visit

Newest Posts...

New Posts: Perl Board

More...

Thread 6 of 6
Thread Starter  

kmsvge
How to flow Diagram an existing Perl script
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.)
Posted to MB Topic: Perl
11 years ago
2 replies. Last post:

mprestwood
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.
11 years ago
Nothing New Since Your Last Visit
8917
Hits

Thread 5 of 6
Thread Starter  

Mike Prestwood
IIS and perl.exe versus wperl.exe
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?
Posted to MB Topic: Perl
17 years ago
2 replies. Last post:

mprestwood
{Too Long!}
12 years ago
Nothing New Since Your Last Visit
9307
Hits

Thread 4 of 6
Thread Starter  

Aurora
perl 5.8 kernel 2.40.19
Does anyone know what syntax to fork() in perl is? , , perl 5.8 kernel 2.40.19
Posted to MB Topic: Perl
16 years ago
1 Reply:

adamlum
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, }
12 years ago
Nothing New Since Your Last Visit
4504
Hits

Thread 3 of 6
Thread Starter  

Donnaa5dcp
easy one about forms.....
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/.
Posted to MB Topic: Perl
17 years ago
Nothing New Since Your Last Visit
2995
Hits

Thread 2 of 6
Thread Starter  

Insanity
Chat kick option
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
Posted to MB Topic: Perl
17 years ago
1 Reply:

jdschram
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
3373
Hits

Thread 1 of 6
Thread Starter  

Bbouch
unlink the unkown
I want to be able to delete all the files in a given directory: Currently I am trying to use the unlink funtion to "unlink *" in the directory. The actual code looks like this:, , unlink ("/sasdata/$ENV{'LOGNAME'}/$_[0]/*");, , This does not seem to be working... Is there a better way to do this, or can someone help me get this working???, , Thanks!, Brian, , UPDATE : I have solved this problem, and wanted to make the solution available to anyone that might be trying something simlar, , the code looks like this:, , my @files = glob "//*";, , unlink @files;
Posted to MB Topic: Perl
18 years ago
Nothing New Since Your Last Visit
3267
Hits
More...

Unanswered: Perl Message Board

Answer an unanswered thread. Even old threads. Our goal is to have a complete and thorough resource.


Thread 2 of 2

Donnaa5dcp
easy one about forms.....
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/.
Posted to MB Topic: Perl
17 years ago
Nothing New Since Your Last Visit
2995
Hits

Thread 1 of 2

Bbouch
unlink the unkown
I want to be able to delete all the files in a given directory: Currently I am trying to use the unlink funtion to "unlink *" in the directory. The actual code looks like this:, , unlink ("/sasdata/$ENV{'LOGNAME'}/$_[0]/*");, , This does not seem to be working... Is there a better way to do this, or can someone help me get this working???, , Thanks!, Brian, , UPDATE : I have solved this problem, and wanted to make the solution available to anyone that might be trying something simlar, , the code looks like this:, , my @files = glob "//*";, , unlink @files;
Posted to MB Topic: Perl
18 years ago
Nothing New Since Your Last Visit
3267
Hits
More...

Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).



Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech