From oliver.gorwits at oucs.ox.ac.uk Mon Dec 3 03:50:40 2007 From: oliver.gorwits at oucs.ox.ac.uk (Oliver Gorwits) Date: Mon, 03 Dec 2007 11:50:40 +0000 Subject: Anniversary Meeting: Tuesday 18th December 2007 Message-ID: <4753ED90.8030807@oucs.ox.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! Once a year Tom gets a rest from organizing a monthly meeting, and so this time around I'm pleased to have been lent the pointy hat :-) This year we have a very special anniversary to celebrate; Larry Wall released Perl 1.000 to the world 20 years ago, on Dec 18th 1987. So on Tuesday 18th December we'll have our holiday-season Milton Keynes Linux User Group and Perl Mongers' meeting of 2007. It's an opportunity to get together and discuss all things open sourcey, softwarey, techy, fun and irrelevant. As usual, we'll meet in Wetherspoon's near the railway station: http://miltonkeynes.openguides.org/?J.D_Wetherspoon%2C_Central_Milton_Keynes (note that this is *not* the one in the snow dome) Please be aware that this date is *not* our usual "last Tuesday of the month", because of the Xmas holiday, and Perl's 20th Birthday. I'll show up around 8pm, but feel free to arrive whenever suits you - by the time I get there a few people have usually arrived already. see you there, oliver. - -- Oliver Gorwits, Network and Telecommunications Group, Oxford University Computing Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHU+2Q2NPq7pwWBt4RArQ6AJ9zRVNqqLRAehAJpt3LU9M0l3rVfACgyjzP 5H0BQwgaGJN/2AS03jztWbY= =QauI -----END PGP SIGNATURE----- From pm at gavinwestwood.co.uk Mon Dec 3 05:03:23 2007 From: pm at gavinwestwood.co.uk (Gavin Westwood) Date: Mon, 03 Dec 2007 13:03:23 +0000 Subject: Non-Tuesday Social Meeting in December Message-ID: <4753FE9B.4030301@gavinwestwood.co.uk> There was some interest in having a non-Tuesday social meeting, as well as the usual Tuesday ones. This was briefly discussed on the MKLUG list, and as Oliver has kindly organised a Tuesday meeting on the 18th, I will organise a "non-Tuesday" social on Thursday 13th December at 8pm, same place as usual. I've updated the MKLUG meeting pages and the ics calendar linked from there... Depending on how many people turn up and/or are interested in future "non-Tuesday" meetings, we'll see if we continue into 2008 with two socials a month... Thanks Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071203/bad0cbab/attachment.html From Tony.Edwardson at commerzbank.com Mon Dec 3 06:09:21 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Mon, 3 Dec 2007 14:09:21 -0000 Subject: Apache::DBI Message-ID: Hi Josh I'm a member of Milton Keynes Perl Mongers and, as a group, we are looking for a perl project which we can collectively do to contribute to the improvement of Perl. We have decided that as a first attempt we want improve the test coverage of some of the most popular perl modules. Looking at The Phalanx 100 http://qa.perl.org/phalanx/ and http://pjcj.sytes.net/cpancover/ it appears that Apache::DBI is both a popular module and does not have complete testing coverage (12.5% coverage) As the module author, are you interested in allowing us to look at increasing the testing coverage of Apache::DBI ? Anything we do will be passed back to you for approval for you to add to the distribution should you want to. Interested ? Regards Tony -- ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071203/0c206ca9/attachment.html From peter at dragonstaff.com Mon Dec 3 10:31:06 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Mon, 3 Dec 2007 18:31:06 -0000 Subject: 3 Skypephone Message-ID: <019801c835da$bf208020$0201a8c0@DRAGON1> I recently bought a 3 Skypephone so I could pick up support by Skype IM while I'm out and about. After using it for a week I can say it's a nice inexpensive bit of kit: http://3skypephone.com/english/index.html Regards, Peter Dragonstaff Limited http://www.dragonstaff.com Business IT Consultancy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071203/10cbb59c/attachment.html From peter at dragonstaff.com Tue Dec 4 07:44:39 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Tue, 4 Dec 2007 15:44:39 -0000 Subject: FW: JA007614 - 2 x Software Engineers - Perl - London - Contract 3 - 6 months Message-ID: <02a401c8368c$aaf4f240$6401a8c0@DRAGON1> More perl jobs coming out of the woodwork Regards, Peter _____ From: Jane Abbott [mailto:Jane.Abbott at PCRWeb.co.uk] Sent: 04 December 2007 15:21 To: peter at dragonstaff.co.uk Subject: JA007614 - 2 x Software Engineers - Perl - London - Contract 3 - 6 months Dear Candidate GREAT CONTRACT JOB OPPORTUNITY! I am currently working on a couple of contract roles for one of our clients that may be of interest to you or someone you know. Because of time constraints I am emailing people whose CVs present some of the core skills required for these specific roles. If you are interested to know more about the opportunity described below then please contact me as soon as possible. If you are not interested or suited to this role but know someone who may be, then please forward this email on to them and we will pay you a ?200 referral fee if they are successful. Job ref: JA007614 2 x Software Engineers - Perl - Contract 3 - 6 months Due to expansion within the technology team who are responsible for on-line systems development, our client is looking for 2 contractors to work as part of a team to design and build a range of systems supporting their web infrastructure and content distribution. You will need to be able to ensure quality and stability of applications for this world renowned site, help resolve operational problems and be a technical expert within the team. Essential skills: " Perl or mod_perl development " Software development processes (OOA, design, development, testing) We are ideally also looking for candidates with experience in some of the following: " Development of Apache modules in C " Linux " HTTP " FTP " MySQL " Java " PHP " High Performance Systems " Relational Database Systems " Scripting languages " Email systems and protocols Our client is looking someone to start as early as possible in January 2008. Daily rates are from ?270-?490 depending on experience. I do apologise if this role is not relevant for you but if it is please send me you latest CV. Kind regards Jane Abbott Consultant - Digital Media CHECK OUT THE LATEST TALENT AVAILABLE IN OUR SHOWCASE! Direct Tel: 0845 880 4303 Int Tel: +44 1223 202300 Full Profile: Jane Abbott PCR Profile: Interact with us Web: pcrweb.co.uk Email Disclaimer: Legal info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071204/67e3282d/attachment.html From abhishek.netjain at gmail.com Sun Dec 9 17:04:11 2007 From: abhishek.netjain at gmail.com (abhishek jain) Date: Mon, 10 Dec 2007 01:04:11 +0000 Subject: [Job] Looking for a job Message-ID: <7416d8590712091704l36b96548y80b2d0ac33dca9@mail.gmail.com> Hi all, Am a new enterant to the group not new to Perl though. I just wanted to know if one needs to get a job in and near miltonkeynes where does he go. Just a brief about mysef: Am a pm group owner in India(Bangalore) untill recently , have contributed modules on CPAN and have 4+yrs of good Perl experience. I am legally allowed to work in UK. I am not sure whether this email follows the rule of the mailing list but i know many other persons must be also looking for a job and may be this thread helps them too, I can be contacted at 07799 328727 Thanks, Abhishek jain Am looking for work. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071210/b6401554/attachment.html From Tony.Edwardson at commerzbank.com Tue Dec 11 04:13:59 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Tue, 11 Dec 2007 12:13:59 -0000 Subject: Anyone used XML::Smart ? Message-ID: We use a batch scheduler called UC4 with which you can export and import the config as XML and I am trying to write a tool to be able to make changes to the jobs by changing the exported XML before re-importing it. XML::Simple doesn't cut the mustard for this so I am trying to use XML::Smart. Here's a (simplified) sample of the exported XML The bit I want to change is the bit which contains the code that gets run What I can't workout is the syntax to use with XML::Smart to be able to change the MSCRI values Here's my script :- #!/usr/bin/perl use strict; use warnings; use XML::Smart; my $xml = < XML as per sample above > my $obj = new XML::Smart($xml) or die "Can't understand $xml: $!\n"; Do something like this :- $obj->{'uc-export'}{JOBS_UNIX}{JOB1}{SCRIPT}{MSCRI}->content("CHANGED TO THIS"); $content = $XML->{root}->data(); print $content; I've tried loads of different syntaxes but so far everything I've tried has created new entries in the XML rather than change the existing values. Anyone any ideas ? Cheers Tony -- ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071211/01a7c0be/attachment.html From tom at eborcom.com Tue Dec 11 05:28:38 2007 From: tom at eborcom.com (Tom Hukins) Date: Tue, 11 Dec 2007 13:28:38 +0000 Subject: Anyone used XML::Smart ? In-Reply-To: References: Message-ID: <20071211132838.GA58065@eborcom.com> On Tue, Dec 11, 2007 at 12:13:59PM -0000, Edwardson, Tony wrote: > Do something like this :- > > $obj->{'uc-export'}{JOBS_UNIX}{JOB1}{SCRIPT}{MSCRI}->content("CHANGED TO > THIS"); ... > I've tried loads of different syntaxes but so far everything I've tried has > created new entries in the XML rather than change the existing values. Rather than trying lots of syntaxes, I'd get Data::Dumper to output the contents of $obj and figure out the right one from its structure. I've not used XML::Smart, so it might have a better approach, but in general I use Data::Dumper to figure out how data structures look. Lately, I've used YAML's Dump sometimes, as I find its output more readable. Setting $Data::Dumper::Indent = 1 helps if you use Data::Dumper. Tom From Tony.Edwardson at commerzbank.com Tue Dec 11 05:56:53 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Tue, 11 Dec 2007 13:56:53 -0000 Subject: Anyone used XML::Smart ? Message-ID: > Rather than trying lots of syntaxes, I'd get Data::Dumper to output > the contents of $obj and figure out the right one from its structure Data::Dumper doesn't help here because XML::Smart treats each not as an object so you can refer to each as a hash, list or scalar so you can't determine anything from the internal structure. I have just stumbled on to how to do it ;-) You have to do it in two stages, a search stage like this my $job = $obj->{'uc-export'}{JOBS_UNIX}('name','eq', 'JOB1'); and an assignment like this using the object returned from the search $job->{SCRIPT}{MSCRI}->content("CHANGED TO THIS"); Nasty, but it works Tony -- ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** From pm at gavinwestwood.co.uk Thu Dec 13 10:04:58 2007 From: pm at gavinwestwood.co.uk (Gavin Westwood) Date: Thu, 13 Dec 2007 18:04:58 +0000 Subject: At the pub tonight Message-ID: <4761744A.2080308@gavinwestwood.co.uk> Just to remind people that I'm organising (in the loosest sense of the word) a Lug/PM social at the Weatherspoons down towards the station (i.e. the usual one) tonight from about 8pm - I hope to see some of you their. I'll bring two Linux magazines with me and bag a reasonable size table if I can. If you can't make it tonight (or even if you can), remember that Oliver has organised a social next Tuesday... Gavin From Tony.Edwardson at commerzbank.com Mon Dec 17 04:02:37 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Mon, 17 Dec 2007 12:02:37 -0000 Subject: Coding Collaberation Message-ID: I have finally had a response to requests for suitable modules to improve the testing on. Just like busses, nothing comes along for ages and then you get three turn up at once ! See attached but the candidates are :- ExtUtils::MakeMaker Log::Dispatch Apache2::AuthCookieDBI Perl::Metrics::Simple I suggest we tackle them one by one AFAIK there are 5 of us who are willing to partake (Tom (Hukins), Peter (Edwards), Robbie (Bow), Paul (Moonie) & Myself - anyone I've missed out who wants to get involved ? Suggestions on how to proceed ? Cheers Tony -- ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071217/f78667b3/attachment.html -------------- next part -------------- An embedded message was scrubbed... From: Michael G Schwern Subject: Re: Milton Keynes PM coding collaboration Date: Fri, 14 Dec 2007 23:59:31 -0000 Size: 2796 Url: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071217/f78667b3/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: Dave Rolsky Subject: Re: Milton Keynes PM coding collaboration Date: Sat, 15 Dec 2007 17:19:33 -0000 Size: 4410 Url: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071217/f78667b3/attachment-0001.mht -------------- next part -------------- An embedded message was scrubbed... From: Matisse Enzer Subject: Re: Milton Keynes PM coding collaboration Date: Sun, 16 Dec 2007 07:21:23 -0000 Size: 3509 Url: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071217/f78667b3/attachment-0002.mht -------------- next part -------------- An embedded message was scrubbed... From: James E Keenan Subject: Re: Milton Keynes PM coding collaboration Date: Thu, 13 Dec 2007 04:25:26 -0000 Size: 2511 Url: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071217/f78667b3/attachment-0003.mht From peter at dragonstaff.com Tue Dec 18 01:45:58 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Tue, 18 Dec 2007 09:45:58 -0000 Subject: Dark Lord of Destruction Message-ID: <030801c8415a$dd206910$0501a8c0@DRAGON1> And there I was reading the jobs.perl.org feed in Google Reader and up comes 'Dark Lord of Destruction'. I think we should start a new trend in job titles. How about Supreme Overlord of Content Taming (CMS Editor) Outer Circle Demon of Code Conjuration (Junior Programmer) Any more suggestions? Regards, Peter (getting whimsical as Xm*s approaches) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071218/a7d48584/attachment.html From oliver.gorwits at oucs.ox.ac.uk Tue Dec 18 06:24:50 2007 From: oliver.gorwits at oucs.ox.ac.uk (Oliver Gorwits) Date: Tue, 18 Dec 2007 14:24:50 +0000 Subject: Coding Collaberation In-Reply-To: References: Message-ID: <4767D832.6080108@oucs.ox.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Edwardson, Tony wrote: > See attached but the candidates are :- > > Log::Dispatch > > AFAIK there are 5 of us who are willing to partake (Tom (Hukins), Peter > (Edwards), Robbie (Bow), Paul (Moonie) & Myself - anyone I've missed out who > wants to get involved ? You can count me in, too (car permitting, if we meet!); especially Log::Dispatch because I use that quite a bit. Thanks for helping organize this, Tony, cheers, olly. - -- Oliver Gorwits, Network and Telecommunications Group, Oxford University Computing Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZ9gy2NPq7pwWBt4RAnQGAJ4/FoB9D7BTwE6NqEBHL7QEIIwd+QCfQxqy L3HiSAJoNakiDt/bqj2MDfE= =q+gT -----END PGP SIGNATURE----- From pm at gavinwestwood.co.uk Tue Dec 18 06:59:31 2007 From: pm at gavinwestwood.co.uk (Gavin Westwood) Date: Tue, 18 Dec 2007 14:59:31 +0000 Subject: Dark Lord of Destruction In-Reply-To: <030801c8415a$dd206910$0501a8c0@DRAGON1> References: <030801c8415a$dd206910$0501a8c0@DRAGON1> Message-ID: <4767E053.5010503@gavinwestwood.co.uk> On 18/12/2007 09:45, Peter Edwards wrote: > > And there I was reading the jobs.perl.org feed > in Google Reader and up comes > > ?Dark Lord of Destruction? . > > > > I think we should start a new trend in job titles. > > > > How about > > > > Supreme Overlord of Content Taming (CMS Editor) > > Outer Circle Demon of Code Conjuration (Junior Programmer) > > > > Any more suggestions? > One of my friends applied for a job where all job titles include "ninja", which I thought was pretty cool... Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071218/33528030/attachment.html From tom at eborcom.com Tue Dec 18 07:22:36 2007 From: tom at eborcom.com (Tom Hukins) Date: Tue, 18 Dec 2007 15:22:36 +0000 Subject: Coding Collaberation In-Reply-To: References: Message-ID: <20071218152236.GA23778@eborcom.com> On Mon, Dec 17, 2007 at 12:02:37PM -0000, Edwardson, Tony wrote: > Suggestions on how to proceed ? Tony, I'd like to second Oliver's thanks for the work you've done on this. I use Log::Dispatch too and I'd like to work on that. The other modules seem like good choices with the possible exception of Apache2::AuthCookieDBI, as this requires mod_perl2, which takes effort to install, let alone test. Here's an initial plan for how we proceed. Please improve it with shinier, better ideas: We should meet in the new year on a weekend when our brains aren't tired from work. I'm happy to volunteer my house as a meeting place as it has wireless, comfy chairs or desks/tables. Those who can't attend can try to join in on IRC, although I'm uncertain how well that will work. Anyone attending will need a laptop to develop on with Perl and a Subversion client on it. I'll provide an SVN server for us to commit our work on. If you'd like to attend but don't have a suitable laptop, let us know. I expect we'll figure out which modules interest us, generate Devel::Cover reports to see what needs testing, then write new tests. We'll have a range of people from Perl beginners through to experienced testers, so I guess we'll have a strange mix of people helping each other learn, sharing their experience and using scary approaches to tackling awkward problems. As an aside, Robbie mentioned the idea of working on documentation together: vague plans exist to improve Perl's documentation some time next year in Birmingham - I'm sure we'll hear about them if they materialise. Those of us going to the pub can this evening can discuss this then. See you later, Tom From robbie at robbiebow.co.uk Tue Dec 18 07:39:56 2007 From: robbie at robbiebow.co.uk (robbie at robbiebow.co.uk) Date: Tue, 18 Dec 2007 16:39:56 +0100 Subject: Dark Lord of Destruction Message-ID: <14849621.3709311197992396518.JavaMail.servlet@kundenserver> > One of my friends applied for a job where all job titles include"ninja", which I thought was pretty cool... > Gavin Presumably he had to kill his predecessor under cover of darkness to pass the aptitude test? From pm at gavinwestwood.co.uk Tue Dec 18 07:50:40 2007 From: pm at gavinwestwood.co.uk (Gavin Westwood) Date: Tue, 18 Dec 2007 15:50:40 +0000 Subject: Dark Lord of Destruction In-Reply-To: <14849621.3709311197992396518.JavaMail.servlet@kundenserver> References: <14849621.3709311197992396518.JavaMail.servlet@kundenserver> Message-ID: <4767EC50.7080603@gavinwestwood.co.uk> On 18/12/2007 15:39, robbie at robbiebow.co.uk wrote: >> One of my friends applied for a job where all job titles include "ninja", which I thought was pretty cool... > > Presumably he had to kill his predecessor under cover of darkness to pass the aptitude test? Ah, if he'd let me in on the required rituals, then he'd have had to kill me, and being a nice bloke he didn't... :-) Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071218/3377755b/attachment-0001.html From phil at creativespaces.co.uk Wed Dec 19 03:45:04 2007 From: phil at creativespaces.co.uk (Phil Ironside) Date: Wed, 19 Dec 2007 11:45:04 +0000 Subject: Waaaa Ooooo Message-ID: <20071219114504.08a9fdc9@localhost.localdomain> Yo For those about to code, we salute you. -- Cheers Phil Ironside (redspike) Creative Spaces 01684-561495 http://creativespaces.co.uk http://malvern.lug.org.uk http://birmingham.pm.org From peter at dragonstaff.com Wed Dec 19 03:48:37 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Wed, 19 Dec 2007 11:48:37 -0000 Subject: Waaaa Ooooo In-Reply-To: <20071219114504.08a9fdc9@localhost.localdomain> References: <20071219114504.08a9fdc9@localhost.localdomain> Message-ID: <02e501c84235$2ba23610$0501a8c0@DRAGON1> Hi Phil :) Regards, Peter Dragonstaff Limited http://www.dragonstaff.com Business IT Consultancy -----Original Message----- From: miltonkeynes-pm-bounces+peter=dragonstaff.com at pm.org [mailto:miltonkeynes-pm-bounces+peter=dragonstaff.com at pm.org] On Behalf Of Phil Ironside Sent: 19 December 2007 11:45 To: miltonkeynes-pm at pm.org Subject: Waaaa Ooooo Yo For those about to code, we salute you. -- Cheers Phil Ironside (redspike) Creative Spaces 01684-561495 http://creativespaces.co.uk http://malvern.lug.org.uk http://birmingham.pm.org _______________________________________________ MiltonKeynes-pm mailing list MiltonKeynes-pm at pm.org http://mail.pm.org/mailman/listinfo/miltonkeynes-pm From phil at creativespaces.co.uk Wed Dec 19 05:08:13 2007 From: phil at creativespaces.co.uk (Phil Ironside) Date: Wed, 19 Dec 2007 13:08:13 +0000 Subject: Waaaa Ooooo In-Reply-To: <02e501c84235$2ba23610$0501a8c0@DRAGON1> References: <20071219114504.08a9fdc9@localhost.localdomain> <02e501c84235$2ba23610$0501a8c0@DRAGON1> Message-ID: <20071219130813.15efd191@localhost.localdomain> Yo Peter I eventually got on the list, have a good one. -- Cheers Phil Ironside Creative Spaces 01684-561495 http://creativespaces.co.uk http://malvern.lug.org.uk http://birmingham.pm.org From pm at gavinwestwood.co.uk Wed Dec 19 07:26:32 2007 From: pm at gavinwestwood.co.uk (Gavin Westwood) Date: Wed, 19 Dec 2007 15:26:32 +0000 Subject: Perl 5.10 Released Message-ID: <47693828.4020909@gavinwestwood.co.uk> I'm sure this is already old news to you guys, but I just read on /. that Perl 5.10 was released yesterday to celebrate Perl's 20th birthday: http://www.oreillynet.com/onlamp/blog/2007/12/perl_510_for_perls_20th_birthd.html Gavin From Tony.Edwardson at commerzbank.com Wed Dec 19 07:43:03 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Wed, 19 Dec 2007 15:43:03 -0000 Subject: MKPM Coding Collaberation Message-ID: Hi Michael Judging by our conversation last night, MakeMaker is likely to be the toughest chalenge facing us and we though we'd leave it to last when we've had some practice working as a team. We are going to do an analysis on the modules in advance to find out where the holes are, how much expertese wil be needed to plug them and how much work is involved. Then we will decide how to proceed. Re: your subversion server - sounds like a good idea - we'll try to ensure we comment our checkins so they are easy to identify What do you think MKPMers ? Cheers Tony -- -----Original Message----- From: Michael G Schwern [mailto:schwern at pobox.com] Sent: Wednesday, December 19, 2007 12:48 PM To: Edwardson, Tony Subject: Re: MKPM Coding Collaberation Edwardson, Tony wrote: > Thanks for your suggestions. > > MKPM met last night to discuss and we will have our first stab at > producing some tests in the new year Thanks! Let me know what questions you have about MakeMaker. I'm usually on irc.perl.org #makemaker... all alone. > So far there are 7 willing volunteers, 4 of whom are experienced at > writing tests and the rest want to learn. > > We'll be working on these initially > > > > Log::Dispatch > > Apache2::AuthCookieDBI > > Perl::Metrics::Simple > > ExtUtils::MakeMaker > > > > And will set up our own Subversion repository to maintain what we write. How about I just give you a branch in my repository? That way I can see what you're doing and we don't have to mail gigantic patches around. Send me usernames and I'll make accounts for you on svn.schwern.org. PS I nearly manually junked this message because the "...bank.com" domain, HTML mail and, most importantly, that huge-normous wad of non-speak tacked onto the end made me think it was spam. You probably hear this all the time, but maybe you should consider getting a gmail account? > *********************************************************************** * > > *This is a commercial communication from Commerzbank AG.* > > > *This communication is confidential and is intended only for the person > to whom it is addressed. If you are not that person you are not > permitted to make use of the information and you are requested to notify > immediately that you have received it and then destroy the copy in your > possession.* > > > *Commerzbank AG may monitor outgoing and incoming e-mails. By replying > to this e-mail you consent to such monitoring. This e-mail message and > any attached files have been scanned for the presence of computer > viruses. However, you are advised that you open attachments at your own > risk.* > > > *This email was sent either by Commerzbank AG, London Branch, or by > Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank > AG is a limited liability company incorporated in the Federal Republic > of Germany. Registered Company Number in England BR001025. Our > registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. > We are regulated by the Financial Services Authority for the conduct of > investment business in the UK and we appear on the FSA register under > number 124920. * > > > ************************************************************************ > > -- Insulting our readers is part of our business model. http://somethingpositive.net/sp07122005.shtml ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** From robbie at robbiebow.co.uk Wed Dec 19 12:21:02 2007 From: robbie at robbiebow.co.uk (Robbie Bow) Date: Wed, 19 Dec 2007 20:21:02 +0000 Subject: Coding Collaberation In-Reply-To: <20071218152236.GA23778@eborcom.com> References: <20071218152236.GA23778@eborcom.com> Message-ID: <47697D2E.7080300@robbiebow.co.uk> -------- Original Message -------- Subject: Coding Collaberation From: Tom Hukins To: Milton Keynes Perl Mongers Date: 18 December 2007 15:22:36 > On Mon, Dec 17, 2007 at 12:02:37PM -0000, Edwardson, Tony wrote: >> Suggestions on how to proceed ? > > Tony, I'd like to second Oliver's thanks for the work you've done on > this. Me too > We should meet in the new year on a weekend when our brains aren't > tired from work. I'm happy to volunteer my house as a meeting place > as it has wireless, comfy chairs or desks/tables. Those who can't > attend can try to join in on IRC, although I'm uncertain how well that > will work. TBH, I don't think it will and given my lack of proximity I'll duck out now to save grace. > Anyone attending will need a laptop to develop on with Perl and a > Subversion client on it. I'll provide an SVN server for us to commit > our work on. If you'd like to attend but don't have a suitable > laptop, let us know. > How about using the Google code hosting service? http://code.google.com/hosting/ > As an aside, Robbie mentioned the idea of working on documentation > together: vague plans exist to improve Perl's documentation some time > next year in Birmingham - I'm sure we'll hear about them if they > materialise. Now this is something I am still very interested in. It might be worth, separately, finding a good technical author and seeing if they could give a talk to the group sometime. Robbie From Tony.Edwardson at commerzbank.com Thu Dec 20 02:33:10 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Thu, 20 Dec 2007 10:33:10 -0000 Subject: Coding Together Message-ID: As discussed the other night, we probably want to check out the 4 modules to see :- * What testing already exists * What the testing coverage is like * What needs to be done * How hard it is likely to be Tom has volunteered to do this for Log::Dispatch, I'll investigate Apache2::AuthCookieDBI, so can I suggest that Olie looks at Perl::Metrics::Simple and Peter looks at ExtUtils::MakeMaker. A quick look at Apache2::AuthCookieDBI reveals a very complicated test suite as follows :- BEGIN { $| = 1; print "1..1\n"; } END {print "not ok 1\n" unless $loaded;} # use Apache::AuthCookieDBI; # commented; can't really run this without Apache $loaded = 1; print "ok 1\n"; and that is it ! Cheers Tony -- ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071220/d9f4be41/attachment.html From pm at gavinwestwood.co.uk Thu Dec 20 06:10:10 2007 From: pm at gavinwestwood.co.uk (Gavin Westwood) Date: Thu, 20 Dec 2007 14:10:10 +0000 Subject: Coding Together In-Reply-To: References: Message-ID: <476A77C2.3060001@gavinwestwood.co.uk> On 20/12/2007 10:33, Edwardson, Tony wrote: > > As discussed the other night, we probably want to check out the 4 > modules to see :- > > * What testing already exists > * What the testing coverage is like > * What needs to be done > * How hard it is likely to be > > > > Tom has volunteered to do this for Log::Dispatch, I?ll investigate > Apache2::AuthCookieDBI, so can I suggest that Olie looks at > Perl::Metrics::Simple and Peter looks at ExtUtils::MakeMaker. > How about the three of us who are learning? Should we each hook up with one of yourselves? > A quick look at Apache2::AuthCookieDBI reveals a very complicated test > suite as follows :- > > > > BEGIN { $| = 1; print "1..1\n"; } > > END {print "not ok 1\n" unless $loaded;} > > # use Apache::AuthCookieDBI; # commented; can't really run this > without Apache > > $loaded = 1; > > print "ok 1\n"; > > > > and that is it ! > Ok, I don't get the first line, and the second one looks out of place (but a quick google confirmed what I thought that it would get run at the end of the procedure), but from what I can see this will always print "ok 1"? Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071220/38c5b70b/attachment-0001.html From Tony.Edwardson at commerzbank.com Thu Dec 20 06:48:06 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Thu, 20 Dec 2007 14:48:06 -0000 Subject: Coding Together Message-ID: All we are doing at the moment is finding out what the state of each module is - that is probably best done by the more experienced guys for the very reason that the code listed below doesn't actually test anything For the record The first line is a BEGIN block which get's performed before anything else $| = 1; Sets up autoflushing whenever you output something to stderr (i.e. stops it buffering output) print "1..1\n"; prints out 1..1 to stdout which is expected by the test harness and means run 1 test out of a total of 1 Surprisingly END { .... } is the converse of a BEGIN block and gets executed after everything else It will print out "not ok 1" is the variable $loaded is not a true value (which it always wil be because it is set to 1 explicitly - so the END block will never do anything Next it prints "ok 1" which tells Test::Harness that test 1 worked although iot never actually runs any tests So, basically, this is a stub-with no tests defined and just outputs enough to keep Test::Harness quiet Cheers Tony _____ From: miltonkeynes-pm-bounces+tony.edwardson=commerzbank.com at pm.org [mailto:miltonkeynes-pm-bounces+tony.edwardson=commerzbank.com at pm.org] On Behalf Of Gavin Westwood Sent: Thursday, December 20, 2007 2:10 PM To: miltonkeynes-pm at pm.org Subject: Re: Coding Together On 20/12/2007 10:33, Edwardson, Tony wrote: As discussed the other night, we probably want to check out the 4 modules to see :- * What testing already exists * What the testing coverage is like * What needs to be done * How hard it is likely to be Tom has volunteered to do this for Log::Dispatch, I'll investigate Apache2::AuthCookieDBI, so can I suggest that Olie looks at Perl::Metrics::Simple and Peter looks at ExtUtils::MakeMaker. How about the three of us who are learning? Should we each hook up with one of yourselves? A quick look at Apache2::AuthCookieDBI reveals a very complicated test suite as follows :- BEGIN { $| = 1; print "1..1\n"; } END {print "not ok 1\n" unless $loaded;} # use Apache::AuthCookieDBI; # commented; can't really run this without Apache $loaded = 1; print "ok 1\n"; and that is it ! Ok, I don't get the first line, and the second one looks out of place (but a quick google confirmed what I thought that it would get run at the end of the procedure), but from what I can see this will always print "ok 1"? Gavin ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071220/d3ae0bae/attachment.html From tom at eborcom.com Thu Dec 20 07:11:57 2007 From: tom at eborcom.com (Tom Hukins) Date: Thu, 20 Dec 2007 15:11:57 +0000 Subject: Coding Together In-Reply-To: References: Message-ID: <20071220151157.GA51710@eborcom.com> On Thu, Dec 20, 2007 at 02:48:06PM -0000, Edwardson, Tony wrote: > $| = 1; > > Sets up autoflushing whenever you output something to stderr (i.e. stops it > buffering output) That's almost right: it deals with the buffering of STDOUT not STDERR. See perlvar(1) for details. Tom From peter at dragonstaff.com Thu Dec 20 07:17:25 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Thu, 20 Dec 2007 15:17:25 -0000 Subject: Coding Together In-Reply-To: <476A77C2.3060001@gavinwestwood.co.uk> References: <476A77C2.3060001@gavinwestwood.co.uk> Message-ID: <010b01c8431b$7f9a5d60$0501a8c0@DRAGON1> Sounds like a plan, Tony. I'll have a look over EUMM (hope I pass my sanity roll on that one, I can't afford to lose any more points). Hi Gavin, what we discussed at the Perl 20th beano was that we'd do a preliminary recce to see what needed doing and then divide it up into writing tests, writing docs and running the tests on different platforms, so I guess it's worth waiting to see what the intrepid code explorers report back. There will definitely be something for everyone to do. Tom is the Perl testing guru round here so we'll follow his pointers and hopefully all learn a lot. The test file for Apache2::AuthCookieDBI is a non-test, as Tony said, and thus a good candidate for improvement. The related test for Apache::AuthCookieDBI is better: http://search.cpan.org/src/MATISSE/Apache-AuthCookieDBI-2.1/test.pl I'd normally expect to see tests in a 't' sub-directory accessible by 'make test' from Makefile.PL, e.g. the suite for DBI http://search.cpan.org/src/TIMB/DBI-1.601/ which uses Test::Simple. But I'm jumping the gun here :-) Regards, Peter Dragonstaff Limited http://www.dragonstaff.com Business IT Consultancy _____ From: miltonkeynes-pm-bounces+peter=dragonstaff.com at pm.org [mailto:miltonkeynes-pm-bounces+peter=dragonstaff.com at pm.org] On Behalf Of Gavin Westwood Sent: 20 December 2007 14:10 To: miltonkeynes-pm at pm.org Subject: Re: Coding Together On 20/12/2007 10:33, Edwardson, Tony wrote: As discussed the other night, we probably want to check out the 4 modules to see :- * What testing already exists * What the testing coverage is like * What needs to be done * How hard it is likely to be Tom has volunteered to do this for Log::Dispatch, I'll investigate Apache2::AuthCookieDBI, so can I suggest that Olie looks at Perl::Metrics::Simple and Peter looks at ExtUtils::MakeMaker. How about the three of us who are learning? Should we each hook up with one of yourselves? A quick look at Apache2::AuthCookieDBI reveals a very complicated test suite as follows :- BEGIN { $| = 1; print "1..1\n"; } END {print "not ok 1\n" unless $loaded;} # use Apache::AuthCookieDBI; # commented; can't really run this without Apache $loaded = 1; print "ok 1\n"; and that is it ! Ok, I don't get the first line, and the second one looks out of place (but a quick google confirmed what I thought that it would get run at the end of the procedure), but from what I can see this will always print "ok 1"? Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071220/c745debc/attachment-0001.html From jns at gellyfish.com Thu Dec 20 07:22:05 2007 From: jns at gellyfish.com (Jonathan Stowe) Date: Thu, 20 Dec 2007 15:22:05 +0000 Subject: Coding Together In-Reply-To: <20071220151157.GA51710@eborcom.com> References: <20071220151157.GA51710@eborcom.com> Message-ID: <1198164125.6731.38.camel@coriolanus> On Thu, 2007-12-20 at 15:11 +0000, Tom Hukins wrote: > On Thu, Dec 20, 2007 at 02:48:06PM -0000, Edwardson, Tony wrote: > > $| = 1; > > > > Sets up autoflushing whenever you output something to stderr (i.e. stops it > > buffering output) > > That's almost right: it deals with the buffering of STDOUT not > STDERR. See perlvar(1) for details. The currently selected filehandle infact :-p But STDERR is typically not buffered so it wouldn't have much effect on that. /J\ From Tony.Edwardson at commerzbank.com Thu Dec 20 07:22:39 2007 From: Tony.Edwardson at commerzbank.com (Edwardson, Tony) Date: Thu, 20 Dec 2007 15:22:39 -0000 Subject: Coding Together Message-ID: Oops - typo, I meant stdout - stderr is autoflushed by default Tony -- -----Original Message----- From: miltonkeynes-pm-bounces+tony.edwardson=commerzbank.com at pm.org [mailto:miltonkeynes-pm-bounces+tony.edwardson=commerzbank.com at pm.org] On Behalf Of Tom Hukins Sent: Thursday, December 20, 2007 3:12 PM To: Milton Keynes Perl Mongers Subject: Re: Coding Together On Thu, Dec 20, 2007 at 02:48:06PM -0000, Edwardson, Tony wrote: > $| = 1; > > Sets up autoflushing whenever you output something to stderr (i.e. stops it > buffering output) That's almost right: it deals with the buffering of STDOUT not STDERR. See perlvar(1) for details. Tom _______________________________________________ MiltonKeynes-pm mailing list MiltonKeynes-pm at pm.org http://mail.pm.org/mailman/listinfo/miltonkeynes-pm ********************************************************************** This is a commercial communication from Commerzbank AG. This communication is confidential and is intended only for the person to whom it is addressed. If you are not that person you are not permitted to make use of the information and you are requested to notify immediately that you have received it and then destroy the copy in your possession. Commerzbank AG may monitor outgoing and incoming e-mails. By replying to this e-mail you consent to such monitoring. This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open attachments at your own risk. This email was sent either by Commerzbank AG, London Branch, or by Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG is a limited liability company incorporated in the Federal Republic of Germany. Registered Company Number in England BR001025. Our registered address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are regulated by the Financial Services Authority for the conduct of investment business in the UK and we appear on the FSA register under number 124920. ********************************************************************** From robbie at robbiebow.co.uk Sun Dec 23 04:19:49 2007 From: robbie at robbiebow.co.uk (Robbie Bow) Date: Sun, 23 Dec 2007 12:19:49 +0000 Subject: Testing concurrent tasks / forking Message-ID: <476E5265.6030506@robbiebow.co.uk> Hi all For those of you not already embedded in a Christmas sherry or two, I have a question: I want to test a web application under the stress of 4-12 concurrent connections. I've used Test::WWW::Mechanize to retrieve and submit the form I'm interested in but, looking at CPAN I just can't spot anything that appears to let me run several of these routines concurrently. I know that the biggest overhead is still the fact I am using plain old CGI, instead of mod_perl/FastCGI (a factor that will take ages to change due to red tape) but I want to ascertain how certain performance enhancing drugs / code re-factoring has had on the application. Any suggestions? Oh, and have a merry Chrimbo everyone! From abhishek.netjain at gmail.com Sun Dec 23 05:05:20 2007 From: abhishek.netjain at gmail.com (abhishek jain) Date: Sun, 23 Dec 2007 13:05:20 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <476E5265.6030506@robbiebow.co.uk> References: <476E5265.6030506@robbiebow.co.uk> Message-ID: <7416d8590712230505l5cd0fa06g1698ee7acdb9d6a1@mail.gmail.com> On 12/23/07, Robbie Bow wrote: > > Hi all > > For those of you not already embedded in a Christmas sherry or two, I > have a question: I want to test a web application under the stress of > 4-12 concurrent connections. I've used Test::WWW::Mechanize to retrieve > and submit the form I'm interested in but, looking at CPAN I just can't > spot anything that appears to let me run several of these routines > concurrently. So you are interested in to running several concurrent requests at a time, i suggest u look at POE . http://search.cpan.org/~rcaputo/POE-Component-Client-UserAgent-0.06/UserAgent.pm POE::Component::Client::UserAgent I use this for the same purpose, if you have a problem understanding the module give a shout on the mailing list. Oh, and have a merry Chrimbo everyone! Thanks and same to you too. -- > Thanks and kind Regards, > Abhishek jain > 07799 328 727 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071223/5a0da226/attachment.html From oliver.gorwits at oucs.ox.ac.uk Sun Dec 23 07:53:45 2007 From: oliver.gorwits at oucs.ox.ac.uk (Oliver Gorwits) Date: Sun, 23 Dec 2007 15:53:45 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <476E5265.6030506@robbiebow.co.uk> References: <476E5265.6030506@robbiebow.co.uk> Message-ID: <476E8489.8000100@oucs.ox.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robbie Bow wrote: > I want to test a web application under the stress of > 4-12 concurrent connections. I've used Test::WWW::Mechanize to retrieve > and submit the form I'm interested in but, looking at CPAN I just can't > spot anything that appears to let me run several of these routines > concurrently. There is the Apache Benchmark program itself, which I have heard (i.e. no personal experience) can give some impression of app'n performance: http://httpd.apache.org/docs/2.0/programs/ab.html (also for other Apache versions, no doubt) HTH, oliver. - -- Oliver Gorwits, Network and Telecommunications Group, Oxford University Computing Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHboSJ2NPq7pwWBt4RApbVAJsEY8Z2Mt02T6tXrAFbdiBhZVT33ACgyyZM uAGVdJ547faCJEynK1BGtcM= =eZlb -----END PGP SIGNATURE----- From tom at eborcom.com Sun Dec 23 09:57:21 2007 From: tom at eborcom.com (Tom Hukins) Date: Sun, 23 Dec 2007 17:57:21 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <476E8489.8000100@oucs.ox.ac.uk> <7416d8590712230505l5cd0fa06g1698ee7acdb9d6a1@mail.gmail.com> References: <476E5265.6030506@robbiebow.co.uk> <476E8489.8000100@oucs.ox.ac.uk> <476E5265.6030506@robbiebow.co.uk> <7416d8590712230505l5cd0fa06g1698ee7acdb9d6a1@mail.gmail.com> Message-ID: <20071223175721.GA96544@eborcom.com> On Sun, Dec 23, 2007 at 01:05:20PM +0000, abhishek jain wrote: > So you are interested in to running several concurrent requests at a > time, i suggest u look at POE . I've never quite got my head round POE. I find HTTP::Async considerably easier to use. But both these approaches might require writing a fair amount of code, depending on what Robbie wants to do. On Sun, Dec 23, 2007 at 03:53:45PM +0000, Oliver Gorwits wrote: > There is the Apache Benchmark program itself, which I have heard (i.e. > no personal experience) can give some impression of app'n performance: Yes, I like ab for simple request patterns. For more complicated request patterns I like JMeter: http://jakarta.apache.org/jmeter/ Tom From robbie at robbiebow.co.uk Sun Dec 23 12:46:47 2007 From: robbie at robbiebow.co.uk (Robbie Bow) Date: Sun, 23 Dec 2007 20:46:47 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <20071223175721.GA96544@eborcom.com> References: <476E5265.6030506@robbiebow.co.uk> <476E8489.8000100@oucs.ox.ac.uk> <476E5265.6030506@robbiebow.co.uk> <7416d8590712230505l5cd0fa06g1698ee7acdb9d6a1@mail.gmail.com> <20071223175721.GA96544@eborcom.com> Message-ID: <476EC937.9010103@robbiebow.co.uk> -------- Original Message -------- Subject: Re:Testing concurrent tasks / forking From: Tom Hukins To: Milton Keynes Perl Mongers Date: 23 December 2007 17:57:21 > On Sun, Dec 23, 2007 at 01:05:20PM +0000, abhishek jain wrote: >> So you are interested in to running several concurrent requests at a >> time, i suggest u look at POE . > > I've never quite got my head round POE. I find HTTP::Async > considerably easier to use. But both these approaches might require > writing a fair amount of code, depending on what Robbie wants to do That looks easier to use. I played with POE, trying to mix it with Test::WWW::Mechanize but am not convinced the end result was making concurrent connections. Here's an example of what I came up with: http://paste.husk.org/10587 The POE responses look to be coming back in the order they were sent, and take about the same time as the simple serial fetches. Even when I wrote a wee script to fetch that adds a nanosleep to each response and runs under FastCGI (see http://paste.husk.org/10586), the response all appear to come back in order sent. HTTP::Async looks easier to use, but I'm not seeing a way to add CGI POST variables. I'll have a play anyway. My ideal situation will be to able to simulate several users submitting the same form to the web server at the same time, if that makes sense. PS.http://www.robbiebow.co.uk/cgi-bin/sleepy.pl is dead. Long live http://www.robbiebow.co.uk/cgi-bin/sleepy.fcgi From robbie at robbiebow.co.uk Sun Dec 23 12:47:40 2007 From: robbie at robbiebow.co.uk (Robbie Bow) Date: Sun, 23 Dec 2007 20:47:40 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <476E8489.8000100@oucs.ox.ac.uk> References: <476E5265.6030506@robbiebow.co.uk> <476E8489.8000100@oucs.ox.ac.uk> Message-ID: <476EC96C.2050702@robbiebow.co.uk> -------- Original Message -------- Subject: Re:Testing concurrent tasks / forking From: Oliver Gorwits To: Milton Keynes Perl Mongers Date: 23 December 2007 15:53:45 > There is the Apache Benchmark program itself, which I have heard (i.e. > no personal experience) can give some impression of app'n performance: > > http://httpd.apache.org/docs/2.0/programs/ab.html > Thanks, Ollie. Another thing to look into... From tom at eborcom.com Sun Dec 23 13:22:58 2007 From: tom at eborcom.com (Tom Hukins) Date: Sun, 23 Dec 2007 21:22:58 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <476EC937.9010103@robbiebow.co.uk> References: <476E5265.6030506@robbiebow.co.uk> <476E8489.8000100@oucs.ox.ac.uk> <476E5265.6030506@robbiebow.co.uk> <7416d8590712230505l5cd0fa06g1698ee7acdb9d6a1@mail.gmail.com> <20071223175721.GA96544@eborcom.com> <476EC937.9010103@robbiebow.co.uk> Message-ID: <20071223212258.GA98961@eborcom.com> On Sun, Dec 23, 2007 at 08:46:47PM +0000, Robbie Bow wrote: > HTTP::Async looks easier to use, but I'm not seeing a way to add CGI > POST variables. HTTP::Async takes HTTP::Request objects to perform its requests, so you pass arguments to HTTP::Request when you create an object: http://search.cpan.org/dist/libwww-perl/lwpcook.pod#POST Essentially, HTTP::Async behaves the same as LWP, except you can perform multiple requests simulataneously. I should have mentioned that last time. Tom From robbie at robbiebow.co.uk Sun Dec 23 15:32:45 2007 From: robbie at robbiebow.co.uk (Robbie Bow) Date: Sun, 23 Dec 2007 23:32:45 +0000 Subject: Testing concurrent tasks / forking In-Reply-To: <20071223212258.GA98961@eborcom.com> References: <476E5265.6030506@robbiebow.co.uk> <476E8489.8000100@oucs.ox.ac.uk> <476E5265.6030506@robbiebow.co.uk> <7416d8590712230505l5cd0fa06g1698ee7acdb9d6a1@mail.gmail.com> <20071223175721.GA96544@eborcom.com> <476EC937.9010103@robbiebow.co.uk> <20071223212258.GA98961@eborcom.com> Message-ID: <476EF01D.5040101@robbiebow.co.uk> -------- Original Message -------- Subject: Re:Testing concurrent tasks / forking From: Tom Hukins To: Milton Keynes Perl Mongers Date: 23 December 2007 21:22:58 > HTTP::Async takes HTTP::Request objects to perform its requests, so > you pass arguments to HTTP::Request when you create an object: > http://search.cpan.org/dist/libwww-perl/lwpcook.pod#POST > > Essentially, HTTP::Async behaves the same as LWP, except you can > perform multiple requests simulataneously. I should have mentioned > that last time. > Many thanks. Just a case of better documentation needed then ;o) From peter at dragonstaff.com Mon Dec 24 02:43:52 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Mon, 24 Dec 2007 10:43:52 -0000 Subject: test - EUMM Message-ID: <020001c84619$f39564c0$6401a8c0@DRAGON1> I unpacked ExtUtils-ModuleMaker-0.49 and did $ perl Makefile.PL $ make test HARNESS_PERL_SWITCHES=-MDevel::Cover and have uploaded the results to http://perl.dragonstaff.co.uk/test/EUMM/ coverage summary is at http://perl.dragonstaff.co.uk/test/EUMM/cover_db/coverage.html The coverage looks good at first glance. Any recommendations for other testing tools to use? Regards, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071224/44969ca8/attachment.html From peter at dragonstaff.com Mon Dec 24 02:47:17 2007 From: peter at dragonstaff.com (Peter Edwards) Date: Mon, 24 Dec 2007 10:47:17 -0000 Subject: test - EUMM Message-ID: <021701c8461a$6cb626f0$6401a8c0@DRAGON1> Missed one command. After the 'make test' produced the db files in the cover_db subdir, I did $ cover To generate cover_db/coverage.html etc. _____ From: Peter Edwards [mailto:peter at dragonstaff.com] Sent: 24 December 2007 10:44 To: Milton Keynes Perl Mongers Subject: test - EUMM I unpacked ExtUtils-ModuleMaker-0.49 and did $ perl Makefile.PL $ make test HARNESS_PERL_SWITCHES=-MDevel::Cover and have uploaded the results to http://perl.dragonstaff.co.uk/test/EUMM/ coverage summary is at http://perl.dragonstaff.co.uk/test/EUMM/cover_db/coverage.html The coverage looks good at first glance. Any recommendations for other testing tools to use? Regards, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20071224/35b1f641/attachment-0001.html