Re: What does MakeFile do?

2009-01-21 Thread Owen
t doesn't sound like a module to me. It sounds like a script that just needs running. By convention, modules have a 'pm' extension and are a bit more complicated that a script in its structure. 2. Does your server have LWP::UserAgent and HTML::Tiny installed? If so, have you tried simply running the reCAPTCHA.pl script? Owen -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Problem with uploader

2008-11-22 Thread Owen
set_message("Please report details of this error to mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]. Thankyou."); It may not be applicable to your case, so FWIW Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: awk command in script?

2008-11-21 Thread Owen
On Fri, 21 Nov 2008 03:41:21 -0500 "michael spellman" <[EMAIL PROTECTED]> wrote: > On Thu, Nov 20, 2008 at 8:32 PM, Owen <[EMAIL PROTECTED]> wrote: > > > On Thu, 20 Nov 2008 06:32:51 -0800 (PST) > > marys <[EMAIL PROTECTED]> wrote: > > I am n

Re: awk command in script?

2008-11-20 Thread Owen
__ > > > > The script works as it should for grep, but what if I want to output > $NF (=) when a line has the string ‘field’ in it? There must be > a way, but I can't find it. I am not altogether certain what you are trying

Re: Problem with uploader

2008-11-16 Thread Owen
tation on > CPAN for uploading files and did what they have suggested as the best > way but it doesn't work. Here is my code: > Make life easy for yourself, have a look at http://search.cpan.org/~gunnar/CGI-UploadEasy-0.11/ Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Carry Variable to Form

2008-09-20 Thread Owen
Hi, This is a Perl mailing list, maybe you would be better off posting to a javascript list, or if it is a html file, a html group? Owen > I have an html file that parses passed parameters with > this code: > > >

Re: Determine upload file type

2008-06-20 Thread Owen
imi > I suggest you go to cpan and get CGI-UploadEasy-0.11 (or read about it) Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Simple Question... I hope

2008-06-04 Thread Owen
y but I don't understand what you are doing. Normally, the actioning cgi script is on the server and you call that to upload your file. If you have access to your server, have a look at http://search.cpan.org/~gunnar/CGI-UploadEasy-0.11/ for the easiest means for uploading files Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Opening a File in its Native Application

2008-04-25 Thread Owen
("start docname") command. > Thank you, > Lynn > > > > - Original Message > From: Owen <[EMAIL PROTECTED]> > To: beginners-cgi@perl.org > Sent: Wednesday, April 23, 2008 11:11:37 PM > Subject: Re: Opening a File in its Native Application > >

Re: Opening a File in its Native Application

2008-04-23 Thread Owen
quot; document, in which case there may well be a perl module that reads Word documents So could you elaborate a little more perhaps? Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Looping Dates.

2008-01-18 Thread Owen
> I am stuck here, I want to get list of dates in a certain range. Like: > Start Date: 2007-01-03 to End Date: 2007-05-30 > > I am pointless here as what should I do in order to get all dates between > start and end? Is there any for, foreach loop or other method? that will > generate a list of dat

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Owen
ure that you can set up spam filters to do what you want. There is a optional argument called spamfilter where you set up a regex and the example in the doco is '(?i:|\[/url])' but you can adjust that yourself To modify Formmail.pl, you would need to; a: Set up a hash of banned words including the url form b: Take the output of the form and discard it if it matches anything in the banned word list. Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: END ing in a cgi script

2007-02-16 Thread Owen Cook
t appeared that > to the cgi interpreter END{} had no special meaning and the code inside > the END block was just executed in turn, instead of at the exit of the > program. Are there techniques to clean up the environment on leaving the > application? Well I just use 'unlin

Re: How to Send Form Output to Multiple Mailing Lists

2007-01-11 Thread Owen Cook
ed email addresses, in CGI.pm parlance, thats @names = $q->param; but I don't know what library you are using Then with the array, you can add further addresses to it, and finally, go through the array and send your e-mails foreach my $address(@names){ do the send mail routine } Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: How to Send Form Output to Multiple Mailing Lists

2007-01-11 Thread Owen Cook
he "sendmail" part and modify that Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: figuring out if a number/character string is null in Perl

2006-08-30 Thread Owen
nction which will do the trick, but it > is not mentioned in the camel book. You need to use 'eq' or 'ne' for strings. 0 isn't a string. So you have to rethink your logic Look up comparison, relational and equality operators. Try perldoc perlop (not sure) Owen

Re: What is the reason for different outputs for a cgi script run from a browser and run from the command line?

2006-06-20 Thread Owen Cook
ontent-type: text/html\n\n"; foreach $key(sort keys(%ENV)) { print "$key = $ENV{$key}"; } -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: @INC

2006-03-12 Thread Owen
on root folder with the theses lines: > > #!/usr/bin/perl > use strict; > use Cwd; use lib '/usr/local/project/packages'; > use setup; Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Storing a search string

2005-12-15 Thread Owen Cook
y $search_string = "my $search_string$first_query"; and so on Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Hi, strange problem on calculation

2005-12-07 Thread Owen Cook
} > print $value . ""; > > Value = -2.77555756156289e-17 > Should be 0.00 What is the difference between -2.77555756156289e-17 and 0.00? It's all to do with the way numbers are represented in computers. Do a "perldoc -f sprintf" and have a read. Owen

Re: CGI::Session

2004-10-11 Thread Owen
On Mon, 11 Oct 2004 12:03:27 -0500 Bill Stephenson <[EMAIL PROTECTED]> wrote: > So I tried installing it with cpan using this line: > > cpan> install CGI:Session maybe try install CGI::Session -- -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: "The connection was refused when attempting to connect 127.0.0.1."

2004-08-15 Thread Owen
On Sun, 15 Aug 2004 09:18:32 -0400 hcohen2 <[EMAIL PROTECTED]> wrote: > -rw-r--r--1 root root 172 Aug 10 19:29 > /usr/local/apache/cgi-bin/cgihello.pl Well you have to make it execitable (as su) chmod 755 /usr/local/apache/cgi-bin/cgihello.pl -- Owe

Re: Fwd: Re: how to call installed program

2004-07-18 Thread Owen
cs; May help > > Error message: > '/usr/local/bin/phredPhrap' failed: 512 at > /srv/www/cgi-bin/phrap/sequence.cgi line 50. What is sequence.cgi line 50 referring to? -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: how to call installed program

2004-07-18 Thread Owen Cook
> system("phredPhrap"); eg, system ("/usr/somewhere/bin/phredPhrap"); phredPhrap is probably in you path for the command line, but that's not appropriate for a cgi script Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: use CGI qw(:standard);

2004-06-11 Thread Owen Cook
butes of the components, or an example for my two queries would be > appreciated. perldoc CGI look for HOW TO CREATE A SUBMIT BUTTON etc. Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Calendar HTML Form

2004-03-29 Thread Owen
and Bill Jones wrote http://backpan.cpan.org/authors/id/S/SN/SNEEX/cal.perl_v2A I don't think you will get an off the shelf answer to your requirement. It's not too dificult to write your own. -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Perl for Linux

2004-03-03 Thread Owen
ou please point me to > the right place where I can get this information. The default installation of Mandrake 9 (now 9.2) will automatically include Perl. Also, if you search for "perl" when in the install packages area, you will find hundreds of additional modules. -- Owen

Re: Email text encoding

2004-02-12 Thread Owen
a "pure" perl module so can be installed in your own directory. It probably meets all your concerns -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Just wondering

2004-01-04 Thread Owen
ple curses-based interface. The MultiMail home page is: http://multimail.sourceforge.net/ ---- -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: special characters

2003-12-23 Thread Owen
settings I need to make? No Try http://hotwired.lycos.com/webmonkey/reference/special_characters/ -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: File Permissions

2003-09-07 Thread Owen
ou can try psuedo system("chmod 777 textfile.txt")or die "Can't 777 $!"; > open textfile.txt for write > write to the textfile.txt > close textfile.txt system("chmod 644 textfile.txt")or die "Can't 644 $!"; > end