[Perl-unix-users] Duplicate sequence

2002-06-24 Thread Ruotti, Victor
I am trying to write a script which elinates repeated fasta DNA sequences. format >descripttion AGTG... >descripttion AGTG... I need to get rid of the second sequence and print everything else out. Any Advice? Victor ___ Perl-Unix-Users mailing list [E

Re: [Perl-unix-users] Question on CGI

2002-06-24 Thread Henry Wong, ¶À³Ç¼e
I can't solve your problem but I hope your not passing in user input into the system function without checking them. That would be bad. :) --- "Scott, Joshua" <[EMAIL PROTECTED]> wrote: > I'm new to Perl programming. I'm trying to launch a > process from within a > CGI script and then continue

Re: [Perl-unix-users] Question on CGI

2002-06-24 Thread $Bill Luebkert
Scott, Joshua wrote: > I'm new to Perl programming. I'm trying to launch a process from within > a CGI script and then continue running the script to complete the web > page. Here is what I'm trying to run. > > $status=system("/usr/bin/program -x -x -x &"); > > Whenever this is executed, t

[Perl-unix-users] Question on CGI

2002-06-24 Thread Scott, Joshua
Title: Message I'm new to Perl programming.  I'm trying to launch a process from within a CGI script and then continue running the script to complete the web page.  Here is what I'm trying to run.   $status=system("/usr/bin/program -x -x -x &");   Whenever this is executed, the script goes i

Re: [Perl-unix-users] Perl with Java

2002-06-24 Thread jimmy
Try the following Code Snip: my @cmd = `java SSLTest`; my %hash; chomp @cmd; foreach (@cmd) { if (/ - /) { ($key, $value) = split(/ - /); $hash{$key} = $value; } if (/: /) { ($key, $value) = split(/: /);

RE: [Perl-unix-users] Sorting Records In Server Log Files

2002-06-24 Thread Matt Hart
Hi There is a function called str2time in HTTP::Date which will convert this date format to epoch, I believe it can handle the TZ as well. Also, you may want to look at the C app called mergelog which chrono sorts multiple logfiles, Regards Matt -Original Message- From: [EMAIL PROTECTE