Re: a Loop constructing the URLs to use LWP::UserAgent repeatedly up to 10 thousand times

2010-10-23 Thread Shlomi Fish
Hi jobst, On Saturday 23 October 2010 07:16:04 jobst müller wrote: Hello dear list good morning Please don't start a new thread by replying to an existing message (you also CCed the previous correspondents.) Instead send a new message to beginn...@perl.org. I am trying to use

re 2a loop constructing the URLs and make PHP to fetch up to 10 thousand pages

2010-10-23 Thread jobst müller
 Hello dear list good morning hello @Shlomi and hello to Richard, many thanks for the quick reply. Great that you reviewed my code: sorry for the typos - i do not use this: for my $id (0 .. 10) { $ua-get($url.?id=21extern_eid=.(0-$id)) //rest of the code } but this for my loop:

Print FH to file.

2010-10-23 Thread KA B
I`m trying to get the filehandler 1 and 2 to print the result in one line. The script i have made makes 2 lines. The script goes like this: my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; $year += 1900; $mon += 1; open FH,echo $year-$mon-$yday $hour:$min

Re: Email Filter Script

2010-10-23 Thread HerrPoetry
Brendon - Did you get the following e-mail (with the attachment intact) at your gmail address? I'm resending it to the list with the attachment snipped, because apparently this list has a 50k limit. - Mark On 10/22/10 12:53 PM, Brandon McCaig wrote: Hello, Mark. I'm a computer

Re: Email Filter Script

2010-10-23 Thread Brandon McCaig
On Fri, Oct 22, 2010 at 3:52 PM, herrpoe...@gmail.com wrote: Brendon - Did you get the following e-mail (with the attachment intact) at your gmail address? I'm resending it to the list with the attachment snipped, because apparently this list has a 50k limit. Yes I did. :) It just kept

Re: Print FH to file.

2010-10-23 Thread Shlomi Fish
Hi KA B, On Friday 22 October 2010 21:12:29 KA B wrote: I`m trying to get the filehandler 1 and 2 to print the result in one line. It's filehandles - not filehandlers. The script i have made makes 2 lines. The script goes like this: my

Object introspection + adding method

2010-10-23 Thread David Favor
Given an instantiated class object, what's the best way to add additional methods after instantiation. Specifically I'm working with qpsmtpd and desire to add a method is_spooled() to every session, so I can call if ($self-is_spooled) rather then is_spooled($self)... Thanks. -- Love feeling

Re: Object introspection + adding method

2010-10-23 Thread Shlomi Fish
On Saturday 23 October 2010 18:50:44 David Favor wrote: Given an instantiated class object, what's the best way to add additional methods after instantiation. Specifically I'm working with qpsmtpd and desire to add a method is_spooled() to every session, so I can call if ($self-is_spooled)

Re: Object introspection + adding method

2010-10-23 Thread Paul Johnson
On Sat, Oct 23, 2010 at 07:52:50PM +0200, Shlomi Fish wrote: On Saturday 23 October 2010 18:50:44 David Favor wrote: Given an instantiated class object, what's the best way to add additional methods after instantiation. Specifically I'm working with qpsmtpd and desire to add a method

Please suggest a good book on perl

2010-10-23 Thread Parag Kalra
Hey All, Just finished reading 'intermediate perl' Enjoyed it as much as I enjoyed the book 'learning perl' Thanks Randal, Tom All Please now suggest another must read nook on perl. Sent from my iPhone -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands,

Re: Object introspection + adding method - SOLVED

2010-10-23 Thread David Favor
Paul Johnson wrote: On Sat, Oct 23, 2010 at 07:52:50PM +0200, Shlomi Fish wrote: On Saturday 23 October 2010 18:50:44 David Favor wrote: Given an instantiated class object, what's the best way to add additional methods after instantiation. Specifically I'm working with qpsmtpd and desire to

Re: Please suggest a good book on perl

2010-10-23 Thread Brian Fraser
I was on your exact same situation a couple of weeks ago. Personally, I tackled Programming Perl[0], but maybe you'd prefer reading chromatic's Modern Perl[1]; Both require some previous knowledge -- Knowledge which you gained by reading the Llama and the Alpaca, mostly (I'm still reading Modern

Re: Please suggest a good book on perl

2010-10-23 Thread Parag Kalra
Ok. Are you referring to the one by Michael Saltzman Btw I would also like to thank brain d foy for such a good book 'learning perl' Sent from my iPhone On Oct 23, 2010, at 3:00 PM, Brian Fraser frase...@gmail.com wrote: I was on your exact same situation a couple of weeks ago. Personally, I

Re: Please suggest a good book on perl

2010-10-23 Thread Brian Fraser
Nope. Just Modern Perl, by chromatic; It's not published yet, thus me linking to the draft (I had never heard of Modern Perl Programming, but reading a couple of reviews on Google haven't given me the best of impressions). Brian.

Re: Email Filter Script

2010-10-23 Thread Brandon McCaig
I give up. My head hurts. D: -- Brandon McCaig bamcc...@gmail.com V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl. Castopulence Software http://www.castopulence.org/ bamcc...@castopulence.org -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands,

Re: Object introspection + adding method

2010-10-23 Thread Jeff Peng
On Sat, Oct 23, 2010 at 07:52:50PM +0200, Shlomi Fish wrote: Just be sure you know what you are doing. Adding a method to somone else's class can be considered rude. See the NOTE in perldoc perlmodlib. He/she is maybe coming from other language like Ruby. In ruby it's free to add methods

Re: Please suggest a good book on perl

2010-10-23 Thread Jeff Peng
Hey All, Just finished reading 'intermediate perl' Enjoyed it as much as I enjoyed the book 'learning perl' Thanks Randal, Tom All Please now suggest another must read nook on perl. why not network programming with Perl? This book will give you much more knowledge than perl itself. --

RE: MySQL database entry delta report

2010-10-23 Thread Jason Feng
Thanks Dr Ruud! In fact I am keeping the history data for half a year in another table with the insert date as an index. It seems maatkit is quite suitable for what I after. I'll look into it. Have a nice day. To: beginners@perl.org Date: Mon, 18 Oct 2010 19:39:10 +0200 From:

Re: Please suggest a good book on perl

2010-10-23 Thread David Christensen
Parag Kalra wrote: Just finished reading 'intermediate perl' Enjoyed it as much as I enjoyed the book 'learning perl' Thanks Randal, Tom All Please now suggest another must read nook on perl. I'd suggest that you start writing Perl code, with two books at your side: 1. Programming Perl,