Re: Login issues with my script.

2011-02-06 Thread stavan
On Jan 19, 7:55 pm, rob.di...@gmx.com (Rob Dixon) wrote: > On 19/01/2011 09:56, Sean Murphy wrote: > > > > > Hi all. > > > I am having a bad week. things are not working as they should. Grin. > > Fix one problem ane another pops up. > > > I have been successful in logging into other sites using the

Re: perl's threads

2011-02-06 Thread Octavian Rasnita
From: "Dr.Ruud" On 2011-02-06 12:12, terry peng wrote: What's the suggested module for perl's threads? I have been using Perl 5.12 under linux. Stay away from threads. Design and develop in a way that no internal resources (but read-only data) are shared. In a program that uses a GUI th

Re: Attachment in Excel format?

2011-02-06 Thread Octavian Rasnita
From: "David Newman" On 2/6/11 7:57 PM, terry peng wrote: Sun, 06 Feb 2011 18:18:09 -0800 письмо от David Newman : This is a multi-part message in MIME format. --_--=_1297044547631150 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Here's t

Re: Text Manipulation

2011-02-06 Thread Rob Dixon
On 05/02/2011 15:11, zavierz wrote: Hi, I am trying to modify a LaTex file which is plain text. The file contains lines similar to the following, but each line is followed by text, so that: Article 1 Cats Article 2 Dogs Article 3 Fish Article 4 Ferrets etc. I would like to modify the file

Re: Attachment in Excel format?

2011-02-06 Thread David Newman
On 2/6/11 7:57 PM, terry peng wrote: > > > > Sun, 06 Feb 2011 18:18:09 -0800 письмо от David Newman > : >> >> This is a multi-part message in MIME format. >> >> --_--=_1297044547631150 >> Content-Disposition: inline >> Content-Transfer-Encoding: 8bit >> Content-Type: text/plain >> >>

Re[2]: Attachment in Excel format?

2011-02-06 Thread terry peng
Sun, 06 Feb 2011 18:18:09 -0800 письмо от David Newman : > > This is a multi-part message in MIME format. > > --_--=_1297044547631150 > Content-Disposition: inline > Content-Transfer-Encoding: 8bit > Content-Type: text/plain > > Here's the GIF file you wanted > --_--=_1297044

Re: Attachment in Excel format?

2011-02-06 Thread David Newman
On 2/6/11 4:19 PM, terry peng wrote: > Have you set the "Disposition" option to "attachment" rather than the default > "inline"? No, I hadn't. Thanks, I missed that option. However, even with the option set for the attachment, the contents of the CSV file still appear in email, at least for my

Re: Text Manipulation

2011-02-06 Thread C.DeRykus
On Feb 5, 7:11 am, zavi...@gmail.com (zavierz) wrote: > Hi, I am trying to modify a LaTex file which is plain text. > The file contains lines similar to the following, but each line is > followed by text, so that: > > Article 1  Cats > Article 2  Dogs > Article 3  Fish > Article 4  Ferrets > > etc.

Re: perl's threads

2011-02-06 Thread Shawn H Corey
On 11-02-06 07:32 PM, terry peng wrote: why no threads? I have been using threads in other language (like Java) for long time, I was thinking it's good. It depends on what your OS is. *NIX is designed to dispatch and recover processes. Windows does not fork well since every Windows processe

Re[2]: perl's threads

2011-02-06 Thread terry peng
Sun, 06 Feb 2011 16:21:58 +0100 письмо от "Dr.Ruud" : > On 2011-02-06 12:12, terry peng wrote: > > > What's the suggested module for perl's threads? > > I have been using Perl 5.12 under linux. > > Stay away from threads. Design and develop in a way that no internal > resources (but read-onl

Re: Attachment in Excel format?

2011-02-06 Thread terry peng
what's the message header you got in thunderbird? Have you set the "Disposition" option to "attachment" rather than the default "inline"? Regards. Sun, 06 Feb 2011 15:38:44 -0800 письмо от David Newman : > Greetings. I'm looking for a way to run a query against a SQL database, > save the resu

Re: perl's threads

2011-02-06 Thread Dr.Ruud
On 2011-02-06 12:12, terry peng wrote: What's the suggested module for perl's threads? I have been using Perl 5.12 under linux. Stay away from threads. Design and develop in a way that no internal resources (but read-only data) are shared. -- Ruud -- To unsubscribe, e-mail: beginners-unsub

Re: Text Manipulation

2011-02-06 Thread Dr.Ruud
On 2011-02-06 16:52, mani kandan wrote: $I=~s/^(Article\s+[0-9]+\s+[\A-Z_a-z]+\S)/\\subsection*{$1}/g; print "$I"; That is weird advice in many ways: 1. A variable $I, what is it? Why capital? 2. No spaces around '=~', why? 3. You took out the m-modifier, why? (now it will only match (and

Re: Text Manipulation

2011-02-06 Thread Dr.Ruud
On 2011-02-05 16:11, zavierz wrote: s/^(Article\s+[0-9]+\s+\N*\S)/\\subsection*{$1}/gm Simplified: s/^( Article \s+ [0-9]+ .* \S ) /\\subsection*{$1}/gmx; -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://l

Attachment in Excel format?

2011-02-06 Thread David Newman
Greetings. I'm looking for a way to run a query against a SQL database, save the result into a file, and then attach the file to an email. The DBD::mysql and MIME::Lite modules handle the SQL query and email attachment respectively, but at least with the MIME 'text/csv' format there's a problem: I

Re: Text Manipulation

2011-02-06 Thread mani kandan
Dear zavierz probably you can try this $I=~s/^(Article\s+[0-9]+\s+[\A-Z_a-z]+\S)/\\subsection*{$1}/g; print "$I"; --- On Sat, 5/2/11, zavierz wrote: From: zavierz Subject: Text Manipulation To: beginners@perl.org Date: Saturday, 5 February, 2011, 8:41 PM Hi, I am trying to modify a LaTex file

Re[2]: perl's threads

2011-02-06 Thread terry peng
Sun, 06 Feb 2011 08:54:50 -0500 письмо от Shawn H Corey : > On 11-02-06 07:10 AM, Octavian Rasnita wrote: > > From: "terry peng" > >> What's the suggested module for perl's threads? > >> I have been using Perl 5.12 under linux. > >> > >> Thanks. > > > > > > > > use threads; > > use threads::sha

Text Manipulation

2011-02-06 Thread zavierz
Hi, I am trying to modify a LaTex file which is plain text. The file contains lines similar to the following, but each line is followed by text, so that: Article 1 Cats Article 2 Dogs Article 3 Fish Article 4 Ferrets etc. I would like to modify the file so that each referenced line is change

Re: perl's threads

2011-02-06 Thread Shawn H Corey
On 11-02-06 07:10 AM, Octavian Rasnita wrote: From: "terry peng" What's the suggested module for perl's threads? I have been using Perl 5.12 under linux. Thanks. use threads; use threads::shared; use Thread::Queue; This module does the work of threads::shared. It is easier to use. --

Re: perl's threads

2011-02-06 Thread Octavian Rasnita
From: "terry peng" > What's the suggested module for perl's threads? > I have been using Perl 5.12 under linux. > > Thanks. use threads; use threads::shared; Octavian -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://

perl's threads

2011-02-06 Thread terry peng
What's the suggested module for perl's threads? I have been using Perl 5.12 under linux. Thanks.