Re: help me with a parsing script please

2011-05-12 Thread Peter Lanting
On Thu, May 12, 2011 at 11:23 AM, Nathalie Conte wrote: HI, I have this file format chrstartendstrand x 12241 x24481 1100124-1 1124148-1 Basically I would like to create a new file by grouping the start of the first line (12) with the

Re: help me with a parsing script please

2011-05-12 Thread Mike McClain
On Thu, May 12, 2011 at 10:23:29AM +0100, Nathalie Conte wrote: > I have this file format > chrstartendstrand > x 12241 > I have this script to split and iterate over each line, but I don't > know how to group 2 lines together, and take the start of the firt line > and

Re: CrossCompilePerl.ARM.Perl

2011-05-12 Thread Uri Guttman
> "H" == Heefan writes: H> I have a question on cross compiling Perl for ARM9. i would say this is not a list for talking about cross compiling. it is about beginners learning perl and your question is way off topic. your best bet is contacting the p5p (perl5 porters list) who work on mak

CrossCompilePerl.ARM.Perl

2011-05-12 Thread Heefan
Hi folks, I have a question on cross compiling Perl for ARM9. My PC: Ubuntu My Device: ARM9 + embedded Linux SSH : enable and working Perl Version: 5.12.3 The Command I used, $sudo ./Configure -des -Dusecrosscompile \ -Dtargethost=192.168.30.110 \ -Dtargetdir=/cross/bin \ -Dtargetuser=root -Dtar

Re: sendmail in perl

2011-05-12 Thread Dr.Ruud
On 2011-05-12 08:20, Irfan Sayed wrote: i need to use sendmail module of perl to send mails. i have seen much perl modules to send mails but i dont know which one is suitable for my requirement my requirement is : i need such module which will allow me to generate/create table structure form

Re: help me with a parsing script please

2011-05-12 Thread Brian Fraser
On Thu, May 12, 2011 at 6:23 AM, Nathalie Conte wrote: > I have this script to split and iterate over each line, but I don't know > how to group 2 lines together, and take the start of the firt line and the > end on the second line? could you please advise? thanks > > You have a couple of option

Re: sendmail in perl

2011-05-12 Thread Natal Ngétal
2011/5/12 Leo Susanto : > I prefer using Net::SMTP with Authen::SASL for authentication. I agree Net::SMTP is good. -- \0/ Hobbestigrou site web: erakis.im -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: sendmail in perl

2011-05-12 Thread Leo Susanto
I prefer using Net::SMTP with Authen::SASL for authentication. Plus, read this: http://en.wikipedia.org/wiki/HTML_email On Wed, May 11, 2011 at 11:20 PM, Irfan Sayed wrote: > hi all, > > i need to use sendmail module of perl to send mails. i have seen much perl > modules to send mails > but i d

Re: help me with a parsing script please

2011-05-12 Thread John W. Krahn
Nathalie Conte wrote: HI, Hello, I have this file format chr start end strand x 12 24 1 x 24 48 1 1 100 124 -1 1 124 148 -1 Basically I would like to create a new file by grouping the start of the first line (12) with the end of the second line (48) and so on the output should look like thi

Re: How to convert to array? Why so many parens?

2011-05-12 Thread John W. Krahn
siegfr...@heintze.com wrote: Darn -- I forgot to switch to plain text again. I hope this does not appear twice -- I apologize if it does! This works and produces the desired result (I've simplified it a bit): $default= `grep pat file-name`)[0])=~/[0-9]+/)[0]); I think you mean either: $d

Re: help me with a parsing script please

2011-05-12 Thread Rob Coops
You are almost there :-) my ($helper1, $helper2); my $counter = 1; foreach my $line(@list){ chomp $line; my @coordinates = split(/' '/, $region); my $chromosome = $coordinates[0]; my $start = $coordinates[1]; my $end = $coordinates[2]; my $strand = $coordinates[3

help me with a parsing script please

2011-05-12 Thread Nathalie Conte
HI, I have this file format chrstartendstrand x 12241 x24481 1100124-1 1124148-1 Basically I would like to create a new file by grouping the start of the first line (12) with the end of the second line (48) and so on the output shoul

Re: sendmail in perl

2011-05-12 Thread Pete Smith
I imagine there are going to be many recommendations - and there are always new, "better" modules coming out for this sort of thing. However, I'll kick things off to say I've used MIME::Lite [1] for a long time and it has always done everything I've needed. Cheers, Pete [1] http://search.cpan