Totally lost on how to get the argv of Perl

2009-07-31 Thread Andrew Steinborn
I need to know how to get the arguments passed to Perl. I'm using the ActiveState built version of Perl on Windows Vista. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Perl and HTML

2009-07-31 Thread Tony Esposito
Thanks ... I'll give that a shot ... any other suggestions are welcomed ... thank again, Dermot. From: Dermot To: Tony Esposito Cc: Beginners Perl Sent: Friday, 31 July, 2009 17:00:45 Subject: Re: Perl and HTML 2009/7/31 Tony Esposito : > I am using Perl 5.

Re: Perl and HTML

2009-07-31 Thread Dermot
2009/7/31 Tony Esposito : > I am using Perl 5.8.x, Windows XP SP2 and Novell GroupWise email client. > I have written a program to send an email which contains HTML.  Issue is that > in the email body the 'body' shows up as HTML text and GroupWise has the > choice to read it in HTML grayed-out (f

Perl and HTML

2009-07-31 Thread Tony Esposito
I am using Perl 5.8.x, Windows XP SP2 and Novell GroupWise email client.  I have written a program to send an email which contains HTML.  Issue is that in the email body the 'body' shows up as HTML text and GroupWise has the choice to read it in HTML grayed-out (for this email only).  In other w

Re: if loop problem

2009-07-31 Thread Chas. Owens
On Fri, Jul 31, 2009 at 10:58, <98447...@student.ucc.ie> wrote: snip > [HMU09450], [1084175], [1085500], [ c], [putative thiophene snip This shows that your data is not quite what you think it is. This means one (or more) of the following things: 1. the program that is generating the file has a

Re: if loop problem

2009-07-31 Thread Shawn H. Corey
98447...@student.ucc.ie wrote: sample of the outout from perl -nle 'print join ", ", map { "[$_]" } split /\t/'datafile [HMU09420], [1082913], [1083629], [], [putative 1-acyl-SN-glycerol-3-phosphate acyltransferase] [HMU09430], [1083645], [1083860], [], [Putative hypothetical protein] [HMU09440

Re: if loop problem

2009-07-31 Thread 98447122
Hi Chas sample of the outout from perl -nle 'print join ", ", map { "[$_]" } split /\t/'datafile [HMU09420], [1082913], [1083629], [], [putative 1-acyl-SN-glycerol-3-phosphate acyltransferase] [HMU09430], [1083645], [1083860], [], [Putative hypothetical protein] [HMU09440], [1083903], [1084031],

Re: if loop problem

2009-07-31 Thread Chas. Owens
On Fri, Jul 31, 2009 at 10:19, <98447...@student.ucc.ie> wrote: > This is what the file actually looks like. All fileds are > separated by tabs snip The following script has visibly correct data and works. This points to your data being the problem. Try this one-liner to see what you data really

Re: if loop problem

2009-07-31 Thread 98447122
This is what the file actually looks like. All fileds are separated by tabs GeneStart Stopstrand Product HMU000101 1290chromosomal replication initiator protein HMU0002014482512DNA polymerase III, beta chain HMU0003025224840

Re: if loop problem

2009-07-31 Thread Shawn H. Corey
98447...@student.ucc.ie wrote: Hi All, I am having a small problem with my if looops. I have written a small script to parse a file I have input: HMU0003025224840DNA gyrase subunit B HMU0004048415083putative membrane protein HMU000505080

if loop problem

2009-07-31 Thread 98447122
Hi All, I am having a small problem with my if looops. I have written a small script to parse a file I have input: HMU0003025224840DNA gyrase subunit B HMU0004048415083putative membrane protein HMU0005050805739c putative perip