Re: old pictures
On Wed, Jun 06, 2001 at 11:09:22AM +0100, Greg McCarroll wrote: * Mark Fowler ([EMAIL PROTECTED]) wrote: On Wed, 6 Jun 2001, Lucy McWilliam wrote: On Sun, 3 Jun 2001, Greg McCarroll wrote: just looking at some old pictures of london.pm meetings and YAPC::Europe and i came across the classic, London.pm drinking in a hair dressing salon, Why oh why? Infact, more to the point, where is this? I seem to be in shot, though I have no recollection of any hair dressing salons. And I wasn't that drunk at YAPC::E (unfortunately) It was the same night we acquired the toilet seat, and the jugs of TVR. The hair salon in question is along the road from PO. I do my level best not to be reminded of this sort of thing, and every time I think I've forgotten some smartass comes and reminds me. Thank You very much. -- James A. Duncan Do you want to see can't call method eject on undefined value at F16.pm line 32768? -- Nathan Torkinton PGP signature
Another Perl Question
I know, I know, this makes a grand total of three posted to the list in one day :-) I have what will usually be a list of objects, but on occasions nasty programmers (including me) do things to annoy me like inserting a hashref, so I end up with a data structure that looks like: [ bless({}, 'Some::Class'), bless({}, 'Some::Class'), {}, bless({}, 'Some::Class'), ] which as expected, makes things go crazy when I try to call a method on every object in the list. So what I really need is a surefire method to find out if something is blessed, rather than just a reference. I know that I could do a simple regex against ref to find out if it is a HASH|ARRAY|SCALAR|CODE|REF|Regex, but a nice simple keyword like blessed( $svref ) would be nice. Any suggestions? --james PGP signature
Re: Another Perl Question
On Thu, May 24, 2001 at 04:16:44PM +0100, Richard Clamp wrote: On Thu, May 24, 2001 at 04:13:35PM +0100, [EMAIL PROTECTED] wrote: Any suggestions? use Scalar::Util qw( blessed ); grinthat was what I was looking for/grin --james PGP signature
TBA?
is a venue decided on for tonights meeting, or is it still TBA? -- James A. Duncan W: www.fotango.com P: +44 207 251 7021 F: +44 207 608 3592 PGP signature
Re: TBA?
On Thu, May 10, 2001 at 10:43:25AM +0100, Greg McCarroll wrote: * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: is a venue decided on for tonights meeting, or is it still TBA? Penderels Oak, and afterwards I have a table at the Gaucho Grill for steak. yum -- James A. Duncan W: www.fotango.com P: +44 207 251 7021 F: +44 207 608 3592 PGP signature
Re: TPJ Reborn
On Wed, Apr 11, 2001 at 05:28:38PM +0100, Greg McCarroll wrote: * Leon Brocard ([EMAIL PROTECTED]) wrote: Paul Mison sent the following bits through the ether: If you're going to do IRC style karma-ing, at least make sure there's a bot present ... and before someone magically has enough time to link dipsy to email, no email bots please! ;-) I guess i'll unsub then further evidence (scribble scribble) PGP signature
Re: Installing Perl/Tk on Win32
The ugh activestate ppm files are best for this sort of thing. On Tue, Apr 10, 2001 at 04:45:40PM +0100, Andrew Bowman wrote: I'm trying to install the Tk module on a Win32 system (I realise this is where my mistake lies, however, leaving that aside...). The docs say to: perl Makefile.PL nmake nmake test nmake install_perl Which seems to presume the presence of nmake as part of either an MS C or Borland C compiler setup. There's also mention of it being possible to build it with MinGW (a Minimalist GCC type setup for Windows), however this doesn't come with nmake (and it's own make barfs on the TK makefile). I haven't had much luck Googling for docs on how to install Tk on Win32 using MinGW (or any other approach that involves having a commercial Windows C compiler), other than a fleeting reference to 'head scratching' - so any help or pointers or insights you can offer will be appreciated. Andrew. PGP signature
Re: Ummm... Perl not professional??
On Fri, Apr 06, 2001 at 01:18:13PM +0100, Simon Cozens wrote: On Fri, Apr 06, 2001 at 11:36:40AM +, [EMAIL PROTECTED] wrote: Unfortunatly this is largely a valid point. Perl is not used by many *professional* people. Perl is used by a lot of people, and some of them are professional, but I wouldn't consider it the majority. A professional is someone with a profession. Chuckle. I think you are focusing on the definition rather than the sentiment. DWIM. There are an awful lot of people out there that download a MW script, change a few variables, and wack 'perl programmer' on their CV. I'd say 35-45% of CVs that are sent to me by recruitment agencies fall into this category, or perhaps a little more skilled. My point is that while just getting your job done to keep the boss happy is a valid use for Perl, I'd rather see someone who can get the job done in a manner that will let (you|me|us) maintain, extend, and understand the code that is written. It is a both a pity and a fact that these people are relatively few and far between. The guy's point may be uneducated but it isn't wrong just because (I|you|we) don't like the sentiment. --james. PGP signature
Re: xemacs / cperl question
On Mon, Mar 19, 2001 at 06:23:27PM +, James Powell wrote: Anyone know how to stop xemacs cperl-mode to stop knackering it's auto-tab indentation after you confuse it with a line like my $dbh = ${$self-{params}-{dbh}}; (doesn't seem to like the curly braces). my $dbh = $ {$self-{params}-{dbh}} I think is the only way to do it -- it seems to think that the variable is '${' thus the terminating bracket clobbers its count. --james. PGP signature
LWP::Simple
Does anybody know if LWP::Simple allow for un@pw:url convention? --james. PGP signature
Re: LWP::Simple
On Fri, Mar 16, 2001 at 01:38:41PM +, [EMAIL PROTECTED] wrote: Does anybody know if LWP::Simple allow for un@pw:url convention? oops un:pw@url -- James A. Duncan W: www.fotango.com P: +44 207 251 7021 F: +44 207 608 3592 PGP signature
Re: LWP::Simple
On Fri, Mar 16, 2001 at 01:50:31PM +, Robin Houston wrote: On Fri, Mar 16, 2001 at 01:38:41PM +, [EMAIL PROTECTED] wrote: Does anybody know if LWP::Simple allow for un@pw:url convention? Yes it does. Wouldn't it have been quicker to try it than to write that message? ;-) Well, yes, normally. I was already reasonably sure that LWP::Simple did support that notation, but I was seeing 401's in return, which was making wonder if it wasn't supported. Convoluted Explanation? Yes. Frustrating? Definitly. Now I have to go away and figure out where it is having a problem. I know that the UN/PW combination is correct, but alas no joy. Ah well. --james. PGP signature
Re: Do what I mean!
I remember him mentioning that there was an implementation of shor's algorithm in Quantum::Entanglement. On Tue, Feb 27, 2001 at 04:47:42PM +, David Cantrell wrote: On Tue, Feb 27, 2001 at 03:37:35PM +, Simon Wistow wrote: Matthew Robinson wrote: I have now implemented the changes to the constant pragma module so that all scripts run in constant time (in fact they run instantaneously). You're ill. Get help. I'm iller! I'm using Q::S in production code, cos it's easier to read than what I was doing previously. We'll see what a performance hit I get when I run it over a real dataset. A slightly related question - I remember Damian having a slide with his version of Shor's algorithm, which I can't find anywhere in the perldoc and which I can't for the life of me remember. I think at the time that my brain was trying to escape through my ears. Can anyone remember it? The only version I can find online is in the Q::E module, and it ain't what I remember. -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/ Any technology distinguishable from magic is insufficiently advanced ** I read encrypted mail first, so encrypt if your message is important ** -- James A. Duncan W: www.fotango.com P: +44 207 251 7021 F: +44 207 608 3592 PGP signature
Re: Greetings
On Fri, Feb 23, 2001 at 02:08:25PM +, Struan Donald wrote: * at 23/02 15:08 +0100 Philip Newton said: Michael Stevens wrote: Question: 8uffy or willow? Answer: a controversial issue on which no consensus has yet been reached. That's because some people just won't see the light :-) TMTOWTDI surely? Must refrain from saying what came to mind... grrr! --james. PGP signature
Re: trains
On Wed, Feb 14, 2001 at 11:27:52AM +, Michael Stevens wrote: Last night I cunningly managed to get off the tube at stratford, get halfway out of the station, and then realise I don't actually live in Stratford. Very cunning indeed. About as cunning as a fox just... nevermind. --james PGP signature
Re: Mailing List Archive
On Fri, Jan 26, 2001 at 12:07:18AM +, Greg McCarroll wrote: * James Powell ([EMAIL PROTECTED]) wrote: To make it harder for google to find you - change your name Prince style. good idea! - greg of wales This is the best laugh I've had in a little while. Thanks. james. -- James A. Duncan W: www.fotango.com P: +44 207 251 7021 F: +44 207 608 3592 PGP signature
Re: odd -w effect
On Wed, Jan 24, 2001 at 12:57:13PM +0100, Philip Newton wrote: Mark Fowler wrote: [EMAIL PROTECTED] wrote: Strange. Does anyone have any suggestions? Unix might have a problem if you take the -w out using a windows based editor which will insert some nasty line terminator at the end of the lines and screw up the file. That's what I normally find the problem is when 'nix can't find the file. That is, replacing \n by \r\n. As you can see in the error message: ": no such file or directory which is undoubtedly short for qq("/usr/local/bin/perl\r": no such file or directory) -- the carriage return causing the filename to be overwritten by the rest of the error message. Got it -- something else to stick in the commit checks... grrr... I forgot that some people use windows. --james. PGP signature
Re: lack of sleep, insanity and you rotten mongers
grep is not in context :-) On Thu, Jan 04, 2001 at 10:05:10AM +, Greg McCarroll wrote: i was just reading comp.unix.programmer and saw GREP and thought who's talking about me, this is all your fault! greg -- Greg McCarroll http://www.mccarroll.uklinux.net -- James A. Duncan W: www.fotango.com P: +44 207 251 7021 F: +44 207 608 3592 PGP signature