Re: Best practice for unit tests that rely on internet access?

2011-04-28 Thread Avleen Vig
On Thu, Apr 28, 2011 at 8:15 PM, Toby Wintermute wrote: > What is the best practice for writing unit tests that rely on internet > access? > > ie. You have a CPAN module which is all about talking to a web > service.. So you have unit tests that do just that. > What if the system testing it doesn

Best practice for unit tests that rely on internet access?

2011-04-28 Thread Toby Wintermute
What is the best practice for writing unit tests that rely on internet access? ie. You have a CPAN module which is all about talking to a web service.. So you have unit tests that do just that. What if the system testing it doesn't allow HTTP connections out? The tests will fail.. Should one a) P

Re: Perl and IPv6. It's alright now.

2011-04-28 Thread Yitzchak Scott-Thoennes
On the non-socket front, I've successfully used NetAddr::IP for building and checking whitelists for IPv4 and IPv6 connections.

Re: Someone needs to take jwz aside...

2011-04-28 Thread Avleen Vig
On Thu, Apr 28, 2011 at 4:04 AM, Simon Cozens wrote: > On 27/04/2011 17:19, Avleen Vig wrote: > > That's right. If you want OO, you can always use a real programming > > language. > > Well, you're either using Smalltalk, or faking it. > LISP, or go home. http://xkcd.com/224/

RE: Perl and IPv6. It's alright now.

2011-04-28 Thread Duncan Garland
Thanks -Original Message- From: london.pm-boun...@london.pm.org [mailto:london.pm-boun...@london.pm.org] On Behalf Of Paul LeoNerd Evans Sent: 26 April 2011 09:42 To: London.pm Perl M[ou]ngers Subject: Re: Perl and IPv6. It's alright now. On Sun, Apr 17, 2011 at 02:02:59PM +0100, Duncan G

Re: Someone needs to take jwz aside...

2011-04-28 Thread Piers Cawley
On Thursday, April 28, 2011, Simon Cozens wrote: > On 27/04/2011 17:19, Avleen Vig wrote: >> That's right. If you want OO, you can always use a real programming >> language. > > Well, you're either using Smalltalk, or faking it. > Usually badly. Moose is faking CLOS though. Sort of.

Re: Junior-mid level Perl (Victoria Conlan)

2011-04-28 Thread Philip Newton
On Thu, Apr 28, 2011 at 00:30, Yitzchak Scott-Thoennes wrote: > On Wed, Apr 27, 2011 at 3:19 PM, Victoria Conlan wrote: >>> Specifically, it must be butter.  No butter, no shortbread. >> >> I've found that vegan buttery-style margarine is acceptable.  Especially if >> you replace half of the flou

Re: Reinstalling all modules on another perl

2011-04-28 Thread Dave Hodgkinson
Can't you use the build_cpan.sh I left you with? :) That pretty much loads the world... On 28 Apr 2011, at 08:02, Mark Fowler wrote: > Good morning List, > > As recently mentioned I use Perlbrew for all my Perl needs on my Mac. > I'm currently running 5.12.3, but plan on moving to 5.14 as soon a

Re: Reinstalling all modules on another perl

2011-04-28 Thread David Precious
On Thursday 28 April 2011 08:02:08 Mark Fowler wrote: > This will require me to reinstall all my modules. Now, I could do this > by writing some code to parse perllocal.pod and then using cpanm, but > I'm feeling lazy this morning (I haven't had tea yet, and hey, it's a > virtue) so I wondered if a

Re: Junior-mid level Perl

2011-04-28 Thread Victoria Conlan
I was just thinking that surely a Bloody Mary is 1 of your 5-a-day. How about sloe gin? If you make sloe gin you can use the gin-soaked sloes later as an ice-cream topping, apparently. :-) (We did it with vodka raspberries, which were very very nice!)

Re: Junior-mid level Perl

2011-04-28 Thread Dirk Koopman
On 28/04/11 00:14, Aaron Crane wrote: Pedro Figueiredo wrote: I was just thinking that surely a Bloody Mary is 1 of your 5-a-day. How about sloe gin? Sloe vodka is just as nice, if slightly different, and also matures more quickly (at least when I make it). Unfortunately I suspect you hav

Re: Someone needs to take jwz aside...

2011-04-28 Thread Simon Cozens
On 27/04/2011 17:19, Avleen Vig wrote: > That's right. If you want OO, you can always use a real programming > language. Well, you're either using Smalltalk, or faking it.

Re: Reinstalling all modules on another perl

2011-04-28 Thread Mark Overmeer
* Mark Fowler (m...@twoshortplanks.com) [110428 07:09]: > This will require me to reinstall all my modules. I am always intrigued by this from CPAN.pm: # install everything that is outdated on my disk: perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' Could we simply perl -MCPAN

Re: Flickr CPAN module

2011-04-28 Thread Toby Wintermute
Just a quick mention, since a few people were interested earlier.. I've uploaded the first version to CPAN today, as Flickr::API2 It could use some more, many more Perl helper classes, but the most important few are done, and more will follow. Maybe in the current state it will attract more patche

Re: Junior-mid level Perl (Victoria Conlan)

2011-04-28 Thread Sue Spence
On 27 April 2011 23:19, Victoria Conlan wrote: > Vegan shortbread?  WTH. >>> >>> The short(ening) agent in Short Bread = fat. >> >> Specifically, it must be butter.  No butter, no shortbread. > > I've found that vegan buttery-style margarine is acceptable.  Especially if > you replace half of

Re: Junior-mid level Perl

2011-04-28 Thread Sue Spence
On 28 April 2011 08:45, James Laver wrote: > > Their tobacco old fashioned[2] is quite an impressive concoction and > frankly their entire cocktail menu looks delicious. I've been there > since to drink cocktails and not eat. > > [1] http://www.thehawksmoor.co.uk/home_press_brunch.php > [2] http:/

Re: Junior-mid level Perl

2011-04-28 Thread James Laver
On Thu, Apr 28, 2011 at 02:25:35AM +0100, Billy Abbott wrote: > Less than that and, I reckon you've got a shooter. Uncle Billy > recommends Hawksmoor Shoreditch's bottomless bloody mary (if they're > still doing it). If you can drink three glasses and eat one of their > breakfasts then you ar

Reinstalling all modules on another perl

2011-04-28 Thread Mark Fowler
Good morning List, As recently mentioned I use Perlbrew for all my Perl needs on my Mac. I'm currently running 5.12.3, but plan on moving to 5.14 as soon as it comes out (actually, I'd quite like to try the release candidates right now) This will require me to reinstall all my modules. Now, I cou