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>
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
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
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>
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
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/
> 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
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/
("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
>
>
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/
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/
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:
>
>
>
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
__
>
>
>
> 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
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
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/
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/
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
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>
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>
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>
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
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>
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>
> 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>
}
> 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
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>
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>
he "sendmail" part
and modify that
Owen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
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/
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
31 matches
Mail list logo