Re: Server HELP-urgent

2009-10-06 Thread Jyoti
Thanks Ray, Yepp, i think I need to be more specific. I am trying to design a web server which can upload a user input file which contains number of protien sequences. Then I need to blast this file to get blast results directly as an output file. But as m new to perl, I seriously dont have an ide

Re: Fw: yet another question

2009-10-06 Thread Jim Gibson
At 9:10 PM -0700 10/6/09, Slick wrote: Thanks David. Got another question that I have been trying to wrap my mind around. About @argv. Now it says from I understand and read it access information from the command prompt. How exactly does it work? Is it it's own database? Or am I mistake, I

Fw: yet another question

2009-10-06 Thread Slick
Thanks David. Got another question that I have been trying to wrap my mind around. About @argv. Now it says from I understand and read it access information from the command prompt. How exactly does it work? Is it it's own database? Or am I mistake, I know this may be a crazy question to as

Re: yet another question

2009-10-06 Thread David Christensen
Slick wrote: What do you guys do to practice? Do you practice one script over and over again? Do you read differnt scripts and figure out what is happening in each one? Do you think of ideas to do things, then make the script for that? As they say: "Necessity is the mother of invention."

Re: Book review?

2009-10-06 Thread Bob goolsby
Depends, are you starting a fire in the fireplace and need scrap paper? The Sam's XXX in 21 Days series are spotty. Sometimes the book is right on and sometimes the number of errors per page starts approaching the National Debt. The Perl in 21 days falls into the latter category. There are larg

Re: Server HELP-urgent

2009-10-06 Thread Raymond Wan
Hi Jyoti, Jyoti wrote: How to upload any file and get results for that uploaded file through a redirected URL, in perl/cgi I mean to ask, for example, I upload a file which contains protein sequences. Now I want blast results for that uploaded file in my server. Can anyone help me with few lin

Server HELP-urgent

2009-10-06 Thread Jyoti
Hello All, How to upload any file and get results for that uploaded file through a redirected URL, in perl/cgi I mean to ask, for example, I upload a file which contains protein sequences. Now I want blast results for that uploaded file in my server. Can anyone help me with few lines of Code, so t

Re: yet another question

2009-10-06 Thread Owen
> Sorry for all my questions. > > What do you guys do to practice? Do you practice one script over and > over again? Do you read differnt scripts and figure out what is > happening in each one? Do you think of ideas to do things, then make > the script for that? I really suggest you go here and t

yet another question

2009-10-06 Thread Slick
Sorry for all my questions. What do you guys do to practice? Do you practice one script over and over again? Do you read differnt scripts and figure out what is happening in each one? Do you think of ideas to do things, then make the script for that?  Any tips here would be appriciated.    Jas

Book review?

2009-10-06 Thread Slick
Has anybody read this book? I just want a review, to know if it is worth purchasing for a beginning. Sams Teach Yourself Perl in 21 Days   Jason H. Owens

Re: More questions

2009-10-06 Thread Bob goolsby
Yup. Take a look at http://www.roth.net/books/handbook/ -- Win32 Perl Scripting: The Administrator's Handbook; available through Amazon. B On Tue, Oct 6, 2009 at 1:29 PM, Slick wrote: > Does the information also work with Windows?  I use that most. >  Jason H. Owens > > > > > __

Re: More questions

2009-10-06 Thread Slick
Does the information also work with Windows?  I use that most.  Jason H. Owens From: Harry Putnam To: beginners@perl.org Sent: Tuesday, October 6, 2009 10:38:53 AM Subject: Re: More questions Slick writes: > I was just wondering once I get the hang of this,

Re: DBI driving me nuts ... !

2009-10-06 Thread Shawn H Corey
Gregory Machin wrote: > Hi > Please can you advise ? > > #!/usr/bin/perl use strict; use warnings; > > use Mysql; > > $dbh = Mysql->connect("localhost","mailscanner","root","c0nc3pt") or > die ("Error " . Mysql->errno . " - " . Mysql->errstr); my $dbh = ... > $sql = "SELECT to_address FROM m

DBI driving me nuts ... !

2009-10-06 Thread Gregory Machin
Hi Please can you advise ? #!/usr/bin/perl use Mysql; $dbh = Mysql->connect("localhost","mailscanner","root","c0nc3pt") or die ("Error " . Mysql->errno . " - " . Mysql->errstr); $sql = "SELECT to_address FROM maillog LIMIT 10;"; $sth = $dbh->query($sql) or die ("Error " . Mysql->errno . " - " .

Re: adding populations

2009-10-06 Thread Telemachus
On Tue Oct 06 2009 @ 11:24, Jesus Fernandez wrote: > Dear friends, > > I'm working in a genetic drift simulation and I want to add a second > population to my script, any suggestions how to do that? Is this a follow-up to a previous question? Either way, please keep in mind that we don't have any

adding populations

2009-10-06 Thread Jesus Fernandez
Dear friends, I'm working in a genetic drift simulation and I want to add a second population to my script, any suggestions how to do that? j

Re: Perl Questions

2009-10-06 Thread sono-io
What is a good starter perl book to learn perl. Best learning Perl book is 'Learning Perl'. Also known as the Lama book. There are other good texts also, but imho that is by far the best. Hello everyone. I'm new here, so please forgive me for replying to a question before asking one, but

Re: More questions

2009-10-06 Thread Harry Putnam
Slick writes: > I was just wondering once I get the hang of this, what things can I > program?  What is the pinicale of this? (I do understand that your > mind is the limit, but you get my drift) I want to see something > that would be worth attaining  Jason H. Owens I'm far from an expert... bu

Re: Perl Questions

2009-10-06 Thread Randal L. Schwartz
> "Uri" == Uri Guttman writes: > "RLS" == Randal L Schwartz writes: RLS> In the preface of the first edition of the Llama, I composed the RLS> following poem: RLS> A one-L Randal wrote a book, RLS> A two-L Llama for the look, RLS> but to whom we owe it all, RLS> is the three-L Larry Wal

Re: Perl Questions

2009-10-06 Thread Uri Guttman
> "RLS" == Randal L Schwartz writes: RLS> In the preface of the first edition of the Llama, I composed the RLS> following poem: RLS> A one-L Randal wrote a book, RLS> A two-L Llama for the look, RLS> but to whom we owe it all, RLS> is the three-L Larry Wall! keep

Re: Perl Questions

2009-10-06 Thread Randal L. Schwartz
> "Tim" == Tim Bowden writes: >> Just a nit pick - it's the "Llama Book" - not the "Lama book": Tim> Bugger. I knew it didn't look quite right. Shoulda chased it up. In the preface of the first edition of the Llama, I composed the following poem: A one-L Randal wrote a book, A tw

eval and next

2009-10-06 Thread Alexander Koenig
Hi all, I have a Perl program where I use eval to catch errors. As they are Java errors (via Inline::Java) I want my program to continue and just log the errors somewhere. My problem with this is, that I use the eval within a loop and I also use next in this loop to ignore some special cases. But

Re: BLAST HELP

2009-10-06 Thread Dave Tang
On Tue, 06 Oct 2009 21:34:04 +1000, Jyoti wrote: Thanks for your help Dave. Not a problem Jyo. Yes that was Javascript.. Just as m a beginner, I thot we can convert javascipts to cgi scripts.!!! Am I wrong? You can use Perl to write a cgi script that outputs JavaScript code. You can't u

BLAST HELP

2009-10-06 Thread Jyoti
Thanks for your help Dave. Yes that was Javascript.. Just as m a beginner, I thot we can convert javascipts to cgi scripts.!!! Am I wrong? n for Blast, I have downloaded the latest netblast. Can you help me furthur. There are instructions for searching protein sequences. But I should make a scrip