Problem with Gd module and animated Gifs

2010-07-04 Thread Mike Martin
Hi I am looking at creating animated gifs using this in the man page as a starting point my $gifdata = $image->gifanimbegin; $gifdata .= $image->gifanimadd;# first frame for (1..100) { # make a frame of right size my $frame = GD::

Re: regex question

2010-07-04 Thread Bo Jangles
Thanks for responding. I'll give it a try. On Jul 2, 5:10 am, jwkr...@shaw.ca ("John W. Krahn") wrote: > sdDirtySox wrote: > > Hi all, > > Hello, > > > I want to use a perl script that will look at all the files in a > > directory to find an instance of a function and replace it with > > another.

Re: A recipe was rewritten

2010-07-04 Thread Dr.Ruud
marcos rebelo wrote: There was some discussion in the recipe, so I rewrite it: http://sites.google.com/site/oleberperlrecipes/recipes/05-io/02-slurp-a-file Please comment this ore any other recipe. Remember that you may also propose some other useful recipe. There are too many things that I

Re: regex question

2010-07-04 Thread Dr.Ruud
sdDirtySox wrote: I want to use a perl script that will look at all the files in a directory to find an instance of a function and replace it with another. I have the code in place to look at all the files in a directory and to search line by line, but I'm having problems with the regex to use.

Re: parsing a log file with junk characters

2010-07-04 Thread perl_haxor 123
Hi, Thanks a lot for the solution.i'l give it a try. Thanks, Monnappa On Fri, Jul 2, 2010 at 6:29 PM, Chas. Owens wrote: > On Fri, Jul 2, 2010 at 07:59, perl_haxor 123 wrote: > > Hi All, > > > > I have been asked to parse the log file (find the attached > file) > >

Re: Event programming question. AnyEvent::XMPP

2010-07-04 Thread Uri Guttman
this is far from a beginner's question and shouldn't be posted here. there is a list just for event loop stuff called perl-loop. you can find it (and many other lists) and how to subscribe to it at lists.perl.org. please subscribe to that list and repost it there. and the author of anyevent is on

Event programming question. AnyEvent::XMPP

2010-07-04 Thread Dmitry Zenin
Hello all! I have a problem with my code. I want to get a string from callback function, but AnyEvent::XMPP::Client uses non-blocked sockets and I can't get a string. There is example from my code: use AnyEvent::XMPP::Client; my $j = AnyEvent->condvar; my $cl = AnyEvent::XMPP::Client->n