Re: using cgi.pm to create and interpret textboxes

2008-11-11 Thread Matthew Whipple
On Tue, 2008-11-11 at 03:19 -0800, marys wrote: Hello: Can anyone tell me how to use CGI.pm's 'textfield' function to set up a form with a lot of fill-in fields and then parse them? I tried to read three values from input boxes but the output seems to be the name of the textbox and not its

Re: Processing files in a directory

2008-11-11 Thread Susheel Koushik
Doing what you propose is possible, but would take system resources and a bit tedious. Here's an alternate solution: From what I infer, you are processing on a file and then the code decides if its a success or a failure and your job is to remove tmp files if it fails. Here, when the processing

Re: Processing files in a directory

2008-11-11 Thread Susheel Koushik
of course, there are many ways to do a job in perl. Its upto the implementer to choose. -Susheel On Mon, Nov 10, 2008 at 10:40 PM, John W. Krahn [EMAIL PROTECTED] wrote: Susheel Koushik wrote: use the PERL system command. Its a wrapper for system call on your host OS. ex: system(rm

Re: Processing files in a directory

2008-11-11 Thread John W. Krahn
Susheel Koushik wrote: use the PERL system command. Its a wrapper for system call on your host OS. ex: system(rm *.tmp); Why, when you can just do: unlink *.tmp; John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in

using cgi.pm to create and interpret textboxes

2008-11-11 Thread marys
Hello: Can anyone tell me how to use CGI.pm's 'textfield' function to set up a form with a lot of fill-in fields and then parse them? I tried to read three values from input boxes but the output seems to be the name of the textbox and not its value. Here are two scripts: (1) a.cgi: