Re: Simple XML to XLS format

2009-10-29 Thread Anant Gupta
Linux. Please tell me for windows as well, if it is very different from what will be used in linux. Regards Anant On Fri, Oct 30, 2009 at 9:46 AM, Ganesh Babu N wrote: > Let me know your OS. > > Regards, > Ganesh > > On Thu, Oct 29, 2009 at 5:09 PM, Anant Gupta > wrote: > > Hello, > > I need to

Re: Simple XML to XLS format

2009-10-29 Thread Ganesh Babu N
Let me know your OS. Regards, Ganesh On Thu, Oct 29, 2009 at 5:09 PM, Anant Gupta wrote: > Hello, > I need to generate tables in an excel file, corresponding to data in an XML > file. > Can anyone provide me with a simple example using XML::Twig or XML::DOM. > I dont have access to CPAN archives

Re: Fasta format !!

2009-10-29 Thread John W. Krahn
Jyoti wrote: Hello All, Hello, I just want help to open and read a file. I have to make a script so that it should open and read a file which is in fasta format. I have done something with subroutine but getting some errors. May be everyone do not know the fasta format Fasta format have p

Re: Fasta format !!

2009-10-29 Thread Raymond Wan
Hi Jyoti, Jyoti wrote: I just want help to open and read a file. I have to make a script so that it should open and read a file which is in fasta format. I have done something with subroutine but getting some errors. May be everyone do not know the fasta format Fasta format have peculiar f

Re: Fasta format !!

2009-10-29 Thread Gabor Szabo
On Thu, Oct 29, 2009 at 9:23 PM, Jyoti wrote: > Hello All, > > I just want help to open and read a file. I have to make a script so that it > should open and read a file which is in fasta format. I have done something > with subroutine but getting some errors. May be everyone do not know the > fas

Fasta format !!

2009-10-29 Thread Jyoti
Hello All, I just want help to open and read a file. I have to make a script so that it should open and read a file which is in fasta format. I have done something with subroutine but getting some errors. May be everyone do not know the fasta format Fasta format have peculiar feature: its star

Problem with function getquotaroot in IMAP::Client

2009-10-29 Thread Shammi
Hi, I am using the IMAP::Client for automating the quota check for some of the users. My script was fairly straight, and I ran in to the below error, while running the script. The error returned by the $imap->error function is QUOTA not supported for GETQUOTAROOT command at imap.pl As per the

Problem with function getquotaroot in IMAP::Client

2009-10-29 Thread Shameem Ahamed
Hi, I am using the IMAP::Client for automating the quota check for some of the users. My script was fairly straight, and I ran in to the below error, while running the script. The error returned by the $imap->error function is QUOTA not supported for GETQUOTAROOT command at imap.pl As pe

Re: Not following the match problem in this simplified example

2009-10-29 Thread Harry Putnam
"Dr.Ruud" writes: > Harry Putnam wrote: > >> my $date_re = qr/^Date:/; >> my $other_re = qr/^Date: some date/; >> >> if (/$date_re/ !~ /$other_re/){ > > That code is bizar! > > What exactly do you want to compare? > 1. Whether both matches succeed in the same way? > 2. Whether both regexps contai

Re: DBI driving me nuts ... !

2009-10-29 Thread Pau Marc Munoz Torres
Have you tried to print @row? #!/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->e

Simple XML to XLS format

2009-10-29 Thread Anant Gupta
Hello, I need to generate tables in an excel file, corresponding to data in an XML file. Can anyone provide me with a simple example using XML::Twig or XML::DOM. I dont have access to CPAN archives, i mean i cannot use them in by system Thanks

Re: Not following the match problem in this simplified example

2009-10-29 Thread Dr.Ruud
Harry Putnam wrote: my $date_re = qr/^Date:/; my $other_re = qr/^Date: some date/; if (/$date_re/ !~ /$other_re/){ That code is bizar! What exactly do you want to compare? 1. Whether both matches succeed in the same way? 2. Whether both regexps contain similar code? 3. none of the above --