Re: Does Perl have to be installed ?

2003-01-01 Thread Ramprasad
If you are looking for a free soltuion you can try the 'O' module perldoc O assume hello.pl is a perl file do the following perl -MO=C hello.pl > hello.c Now hello.c is a c version of your file Compile it using your favourite C compiler ( you will have to include all perl libraries anyway ) O

Re: glob subtlety question

2003-01-01 Thread Rob Dixon
But glob 'absent_file.txt' returns ('absent_file.txt') so I think this does what's required. As perldoc says, glob EXPR returns the value of EXPR with filename expansions such as the standard Unix shell /bin/csh would do. Whether this behaviour is a Good Thing is a separate question though, and pu

Re: Perl editors

2003-01-01 Thread Kieren Diment
On Tue, Dec 31, 2002 at 10:33:46AM -0500, Paul Kraus wrote: > I am running emacs for windows. How do I use these debugging options? I > currently use cperl mode. > I haven't looked at it too hard, but, under xemacs using linux I get a reasonable debugging environment via the Debugger option on t

Stepping back into the last Century in 2003 - Curses

2003-01-01 Thread Jerry Rocteur
# Platform, SuSE Linux 8.1 and Mac OS X 10.2.3 both running Perl 5.8 # # Destination platform Solaris 8 # Hi, I'd like to write some menus in Perl.. I looked at the FAQ and saw that perlmenu is recommended, so I installed it. It does not tell you it needs curses but when you first run it, it

Re: two questions

2003-01-01 Thread Adriano Allora
thank you all (Dan Muey, Wiggins d'Anconia, Rob Hansom in particular), the party is finished, there was a perl-experienced-user but I used all my selfcoltrol to avoid to ask him something about programming (my girlfriend would have never forgiven me ;P ). After some hours of sleep, I was rewarded

Posting A file from a form

2003-01-01 Thread LRMK
If a visitor posting a file using a file upload box how do I retrieve that from the cgi please give a simple example code

Extracting an Atachment From a Email

2003-01-01 Thread LRMK
I'm Using NET:POP3 to download mail from pop server which is in the same computer with my cgi 1. All the Attachments are comes as a Bulk of text How do I convert it into real binary file? Is Is there a Special Module for that purpose or should I use MIME:BASE64 manually 2. How do I attach a fi

Name a Free PERL Campiler for Win2k

2003-01-01 Thread LRMK
Is there any Free Perl Compilers for Win2k

Re: Name a Free PERL Campiler for Win2k

2003-01-01 Thread LRMK
Yes I Mean to Creat Binary .EXEs not the PERL interpreter - Original Message - From: "K Clark" <[EMAIL PROTECTED]> To: "LRMK" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 12:03 AM Subject: Re: Name a Free PERL Campiler for Win2k > On Thu, Jan 02, 2003 at 12:02:25AM +0600, L

Name a Free PERL Campiler for Win2k

2003-01-01 Thread LRMK
Yes I Mean to Creat Binary .EXEs not the PERL interpreter - Original Message - From: "K Clark" <[EMAIL PROTECTED]> To: "LRMK" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 12:03 AM Subject: Re: Name a Free PERL Campiler for Win2k > On Thu, Jan 02, 2003 at 12:02:25AM +0600, L

Re: Posting A file from a form

2003-01-01 Thread Jenda Krynicky
From: "LRMK" <[EMAIL PROTECTED]> > If a visitor posting a file using a file upload box how do I retrieve > that from the cgi please give a simple example code I'm sure perldoc CGI does contain examples. Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to

Re: glob subtlety question

2003-01-01 Thread Jenda Krynicky
From: "Rob Dixon" <[EMAIL PROTECTED]> > But glob 'absent_file.txt' returns ('absent_file.txt') so I think this > does what's required. As perldoc says, glob EXPR returns the value of > EXPR with filename expansions such as the standard Unix shell /bin/csh > would do. I see ... it only returns noth

Re: Name a Free PERL Campiler for Win2k

2003-01-01 Thread Jenda Krynicky
From: "LRMK" <[EMAIL PROTECTED]> > Yes I Mean to Creat Binary .EXEs > not the PERL interpreter It seems App::Packer promises to do that. http://search.cpan.org/author/MBARBON/App-Packer-0.09/ Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and

including data from an external file

2003-01-01 Thread Ebaad Ahmed
Hello everybody, I would like to include a file in my cgi code so that it contains all the lists of data, and later can be edited from another form to create an admin tool for the lists in the main form. I have researched alot and found that I can use "require" or "use" for this purpose but

navigate the directories

2003-01-01 Thread Adriano Allora
I need to know, in the @ARGV, when a string is the name of a directory. More precisely I'd like to write a script that: processes the files of the textes in a dir extracts the list of the sub-directories in a dir in each sub-dir processes the files of the textes extracts the list of the sub-di

Re: macthing question...

2003-01-01 Thread Adriano Allora
maybe this does not ineterest you, but: if you wanna substitute each code (for instance 010) with its correct name (for instance red) you can use thw script that follows. Actually I'm working on apply this script to an entire directory and its subdirectories (see the mail "navigate the directorie

RE: navigate the directories

2003-01-01 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Use File::Find from std distribution. Has examples and if problems, the list can help you. Wags ;) -Original Message- From: Adriano Allora [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 13:21 To: [EMAIL PROTECTED] Subject: navigate the directories I need to know, i

Re: glob subtlety question

2003-01-01 Thread Rob Dixon
Hi Jenda See in-line. "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message 3E1349E5.27703.3CB576EE@localhost">news:3E1349E5.27703.3CB576EE@localhost... > From: "Rob Dixon" <[EMAIL PROTECTED]> > > But glob 'absent_file.txt' returns ('absent_file.txt') so I think this > > does what's required. As

Re: glob subtlety question

2003-01-01 Thread Jenda Krynicky
From: "Rob Dixon" <[EMAIL PROTECTED]> > "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message > 3E1349E5.27703.3CB576EE@localhost">news:3E1349E5.27703.3CB576EE@localhost... > > From: "Rob Dixon" <[EMAIL PROTECTED]> > > > But glob 'absent_file.txt' returns ('absent_file.txt') so I think > > > this d

Re: including data from an external file

2003-01-01 Thread Wiggins d'Anconia
I am not entirely sure I get what you are trying to do, but see inline. Ebaad Ahmed wrote: Hello everybody, I would like to include a file in my cgi code so that it contains all the lists of data, and later can be edited from another form to create an admin tool for the lists in the main form.

Re: including data from an external file

2003-01-01 Thread Wiggins d'Anconia
Always group reply so the list can help as well, as I definitely don't have all the answers :-). The code I sent earlier will open the list for reading only. To open a file for writing you would have to use the > operator in the open, or >> for appending, check out perldoc -f open for more info

Re: navigate the directories

2003-01-01 Thread R. Joseph Newton
Hi Adriano, Here is a start. You might have to adapt it somewhat for youe specific uses. It originated from a proplem Paul posed concernig a search for files of a given name on a single level of a directory tree, and greww from there. It's taken on a bit of random testion g code also. The i

Re: more socket stuff - 2nd part

2003-01-01 Thread Ramprasad
Dont fork above the $server->accept() line. this is where it shuld be while($client=$server->accept()){ next unless(fork()); #The server is forked and parent goes back to # listen # One child of the server serves th

Log maintanence prblem...

2003-01-01 Thread Tim Martin
Help Folks.. I have run into a small problem with the script we have been working on for log management. Problem 1 - The script must be in the same sub directory as all the logs. How can I get the script to run from /var/tmp/gatelog and not in var/tmp/gatelog/glogs Problem 2 - The Li

Re: navigate the directories

2003-01-01 Thread John W. Krahn
[ top-posting fixed ] "R. Joseph Newton" wrote: > > Adriano Allora wrote: > > > I need to know, in the @ARGV, when a string is the name of a directory. > > More precisely I'd like to write a script that: > > > > processes the files of the textes in a dir > > extracts the list of the sub-directo