Re: config file modules confusion

2011-02-07 Thread Owen
On Mon, 7 Feb 2011 18:11:01 -0800 (PST) Jim Green wrote: > Hello > I searched cpan and was overwhelmed by the number of modules > available. > > I want a config module that can do updates well, preserving formats of > original file, preserving blank lines, comments, etc. which one should > I use

Re: config file modules confusion

2011-02-07 Thread terry peng
Mon, 7 Feb 2011 18:11:01 -0800 (PST) письмо от Jim Green : > Hello > I searched cpan and was overwhelmed by the number of modules > available. > > I want a config module that can do updates well, preserving formats of > original file, preserving blank lines, comments, etc. which one should >

config file modules confusion

2011-02-07 Thread Jim Green
Hello I searched cpan and was overwhelmed by the number of modules available. I want a config module that can do updates well, preserving formats of original file, preserving blank lines, comments, etc. which one should I use..? Config::General, Config::Simple, Config::Inifiles, just to name a fe

Re: Attachment in Excel format?

2011-02-07 Thread John Delacour
At 15:38 -0800 06/02/2011, David Newman wrote: Having the CSV output appear in the message body is a problem for the nontechnical audience that will receive this message. Why not just zip it? Archive::zip ? JD -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional command

Re: Randomizing a 24hr time period

2011-02-07 Thread Mike Blezien
Thanks Jim, this helps allot. You've given me a good starting point. Appreciate the help. Mike - Original Message - From: Jim Gibson To: Perl List Sent: Monday, February 07, 2011 5:52 PM Subject: Re: Randomizing a 24hr time period On 2/7/11 Mon Feb 7, 2011 1:30 PM, "Mik

Re: Randomizing a 24hr time period

2011-02-07 Thread Jim Gibson
On 2/7/11 Mon Feb 7, 2011 1:30 PM, "Mike Blezien" scribbled: > Hello, > > I'm trying to come up with a function to send out X number of message per > day(24hr day) but we need to randomize the time factore each day. For example > if > 50 messages are scheduled to be sent out in 24 hr time per

Randomizing a 24hr time period

2011-02-07 Thread Mike Blezien
Hello, I'm trying to come up with a function to send out X number of message per day(24hr day) but we need to randomize the time factore each day. For example if 50 messages are scheduled to be sent out in 24 hr time period we want to randomize the times they go out during this time period ins

Re: Text Manipulation

2011-02-07 Thread Shlomi Fish
Hi John, On Monday 07 Feb 2011 16:18:32 John Delacour wrote: > At 14:22 +0200 07/02/2011, Shlomi Fish wrote: > >Hi John, > > > >a few comments on your code. > > > > > >Actually, see perldoc perlrun - http://perldoc.perl.org/perlrun.html - by > >giving -p and -i (untested) you can replace the conte

Re: Text Manipulation

2011-02-07 Thread John Delacour
At 14:22 +0200 07/02/2011, Shlomi Fish wrote: Hi John, a few comments on your code. Actually, see perldoc perlrun - http://perldoc.perl.org/perlrun.html - by giving -p and -i (untested) you can replace the contents of a file "in-place". untested?! Why don't you test it before recommending

Re: Text Manipulation

2011-02-07 Thread Shlomi Fish
Hi John, a few comments on your code. On Monday 07 Feb 2011 13:50:57 John Delacour wrote: > At 07:11 -0800 05/02/2011, zavierz wrote: > >Here's code which was suggested to me, but when I execute it I'm > >returned to the command line and nothing happens: > > > >#!/usr/bin/perl > >s/^(Article\s+[0

Re: Text Manipulation

2011-02-07 Thread John Delacour
At 07:11 -0800 05/02/2011, zavierz wrote: Here's code which was suggested to me, but when I execute it I'm returned to the command line and nothing happens: #!/usr/bin/perl s/^(Article\s+[0-9]+\s+\N*\S)/\\subsection*{$1}/gm I called this script "Article" and saved it as article.pl The usa

Re[2]: perl's threads

2011-02-07 Thread terry peng
Thanks Shlomi. Your statement is a great guide to perl threads to me. I'm checking the AnyEvent module which looks wonderful. Thanks again. Mon, 7 Feb 2011 12:30:32 +0200 письмо от Shlomi Fish : > > Well, let me quote the perlbot ( on Freenode's #perl ) factoid: > > [quote] > >Before

Re: perl's threads

2011-02-07 Thread Shlomi Fish
Hi Terry, On Monday 07 Feb 2011 02:32:49 terry peng wrote: > 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. Desig

Re: Login issues with my script.

2011-02-07 Thread shawn wilson
On Feb 7, 2011 2:57 AM, "stavan" wrote: > > 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. > > >