For those with CFT, etc..

2002-01-21 Thread Kirrily 'Skud' Robert
Thought this might be of interest to some of you lot, so what the hell... Sometimes I want to exercise the other side of my brane, but I know full well that if I were to attempt to write fiction or poetry or do anything along those lines it would all just end in horrible embarrassment. Instead,

Re: Erm, Hello?

2002-01-21 Thread Paul Makepeace
On Tue, Jan 22, 2002 at 12:47:16AM +, Nick Cleaton wrote: > On Mon, Jan 21, 2002 at 12:45:16PM -0800, Paul Makepeace wrote: > > Then you won't like, > > No, not a lot :) > > > #!/usr/bin/perl -wln > > > > next unless /^[^#]* > That doesn't need to be as obfuscated as that, you've placed th

Re: Erm, Hello?

2002-01-21 Thread Paul Makepeace
On Mon, Jan 21, 2002 at 12:45:16PM -0800, Paul Makepeace wrote: > #!/usr/bin/perl -wln > > next unless /^[^#]* [snip main loop] > > sub run_analog { > # stuff > > $server_name = $doc_root = $log = ''; > } Hmm, I've just noticed a bug. The return value from run_analog is always false

Re: Erm, Hello?

2002-01-21 Thread Nick Cleaton
On Mon, Jan 21, 2002 at 12:45:16PM -0800, Paul Makepeace wrote: > > > > Until the day that $cond1 is true and action1() returns '0', > > when it breaks mysteriously. > > Then you won't like, No, not a lot :) > #!/usr/bin/perl -wln > > next unless /^[^#]*

Re: call level oddness

2002-01-21 Thread Richard Clamp
On Mon, Jan 21, 2002 at 08:12:42PM +, Robin Houston wrote: > Do you want to find the coderef of foo from _within_ a pre or post > handler? No, within foo (or something foo may happen to implictly call) I'm crazy but not that crazy. I found a solution as I stepped off the train - and then I

Re: Erm, Hello?

2002-01-21 Thread Paul Makepeace
On Mon, Jan 21, 2002 at 09:23:44AM +, Nick Cleaton wrote: > On Mon, Jan 21, 2002 at 09:00:56AM +, Piers Cawley wrote: > > and I'm still not sure whether I utterly hate it or not... > > > >$cond1 && action1() || > >$cond2 && action2() || > >... > > > > works just as 'well'...

Re: call level oddness

2002-01-21 Thread Robin Houston
Do you want to find the coderef of foo from _within_ a pre or post handler? If so, I imagine that's more or less equivalent to finding a coderef for 'bar' from within 'foo', given sub xxx { foo(); bar(); baz(); } It can certainly be done using Want-like techniques, but it'll make yo

call level oddness

2002-01-21 Thread Richard Clamp
In doing some hacking[0] with Hook::LexWrap and caller, doing dodgy things to try and find the true coderef of the code that's calling me, so I can do even more dodgy things to its pad, and I've hit a stumbling block. Hook::LexWrap turns something like this: sub foo { print "Hi kids, I'm foo

Re: Website, was RE: Of meetings technical and social

2002-01-21 Thread Leo Lapworth
On Fri, Jan 18, 2002 at 07:24:08PM +, Paul Mison wrote: > On Fri, Jan 18, 2002 at 05:14:58PM +, Leon Brocard wrote: > > Mark Fowler sent the following bits through the ether: > > > > > (er, in other words do you want a hand with anything) > > > > Leo is on holiday. I think our glorious l

Re: wanted - pants linux-capable webcam

2002-01-21 Thread nemesis
Charlie & wrote: > I just want a good quality linux capable and usable Webcam... Someone on the gllug list mentioned Dexxa webcams (you can search tge archives, gllug.linux.co.uk) a while ago. They were dirt cheap at the time and they worked. Will. -- *claw claw* *fang* *shred* *rip* *ad h

Re: wanted - pants linux-capable webcam

2002-01-21 Thread
I just want a good quality linux capable and usable Webcam...

wanted - pants linux-capable webcam

2002-01-21 Thread Dave Hodgkinson
i have a cheapo eyestar //el one to swap or smash to bits in front of you...

Re: Erm, Hello?

2002-01-21 Thread Chris Devers
On 21 Jan 2002, Randal L. Schwartz wrote: > > "Piers" == Piers Cawley <[EMAIL PROTECTED]> writes: > > Piers> But, but, that should be > > Piers> $foo && do_foo_stuff() || do_other_stuff(); > > And just to make sure my objections are noted in every thread > you say this: > > D

Re: Pub

2002-01-21 Thread Leon Brocard
Dave Cross sent the following bits through the ether: > Adam Turoff is in town and a few of us are meeting him for a drink > or three this evening. Who he? *Oh*, you mean Ziggy: http://astray.com/photos/?show=dcp_0210.jpg ;-), Leon -- Leon Brocard.http://www.astray

Re: Pub

2002-01-21 Thread Greg McCarroll
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > On Mon, Jan 21, 2002 at 01:39:01PM +, Dave Cross wrote: > > Adam Turoff is in town and a few of us are meeting him for a drink or three > > this evening. > > We'll be in the Founder's Arms from 6:30pm. Feel free to join us. > > You forgot to te

Re: Who invented Emacs?

2002-01-21 Thread Randal L. Schwartz
> "Jonathan" == Jonathan Peterson <[EMAIL PROTECTED]> writes: Jonathan> Hmmm, so Gosling re-wrote emacs in C, ported it to Unix, and then Jonathan> watched while Stallman removed all his code for copyright reasons. lol. Jonathan> Still, claiming to have done "the original Unix Emacs editor"

Re: Pub

2002-01-21 Thread Dave Cross
On Mon, Jan 21, 2002 at 01:50:20PM +, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > On Mon, Jan 21, 2002 at 01:39:01PM +, Dave Cross wrote: > > Adam Turoff is in town and a few of us are meeting him for a drink or three > > this evening. > > We'll be in the Founder's Arms from 6:30pm. Fee

RE: Pub

2002-01-21 Thread Ivor Williams
This is the youngs pub on the south bank by the swaying bridge - no? -Original Message- From: Dave Cross [mailto:[EMAIL PROTECTED]] Sent: 21 January 2002 13:39 To: [EMAIL PROTECTED] Subject: Pub Adam Turoff is in town and a few of us are meeting him for a drink or three this evening. W

Re: Erm, Hello?

2002-01-21 Thread Randal L. Schwartz
> "Piers" == Piers Cawley <[EMAIL PROTECTED]> writes: Piers> But, but, that should be Piers> $foo && do_foo_stuff() || do_other_stuff(); And just to make sure my objections are noted in every thread you say this: DON'T DO THAT. Any more than you'd use JAPH or Golf code in pro

Re: Erm, Hello?

2002-01-21 Thread Randal L. Schwartz
> "Nick" == Nick Cleaton <[EMAIL PROTECTED]> writes: Nick> On Mon, Jan 21, 2002 at 09:00:56AM +, Piers Cawley wrote: >> $cond1 && action1() || >> $cond2 && action2() || >> ... >> >> works just as 'well'... Nick> Until the day that $cond1 is true and action1() returns '0', Nick> when it

Re: Pub

2002-01-21 Thread Paul Mison
On Mon, Jan 21, 2002 at 01:39:01PM +, Dave Cross wrote: > Adam Turoff is in town and a few of us are meeting him for a drink or three > this evening. > > We'll be in the Founder's Arms from 6:30pm. Feel free to join us. The Founder's Arms is on the South Bank, in front of the Tate Modern: h

RE: Erm, Hello?

2002-01-21 Thread Richard Clyne
So what is the difference between these sort of constructs and action1() if $cond1 ; action2() if $cond2 ; action3() if $cond3 ; I know which I'd like to read in code I am trying to understand! Richard > -Original Message- > From: Piers Cawley [SMTP:[EMAIL PROTECTED]] > Sent: 21 Janua

Pub

2002-01-21 Thread Dave Cross
Adam Turoff is in town and a few of us are meeting him for a drink or three this evening. We'll be in the Founder's Arms from 6:30pm. Feel free to join us. Dave... -- Drugs are just bad m'kay

Re: Thursday?

2002-01-21 Thread Chris Ball
On Mon, Jan 21, 2002 at 12:55:09PM +, Dave Hodgkinson wrote: > Anyone got plans for Thursday apart from the tech meet? Yes, thanks. - ~C. -- $a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a "Give me a line of perl, and I shall move the world!" --Jill Lundquist."

Who invented Emacs?

2002-01-21 Thread Jonathan Peterson
I just read an article where Gosling frantically tries to explain why C# is not a threat and Java is still the best thing since sliced bread. He also claims that he invented Emacs. Is this true? I always thought it was Stallman, but let's face it Stallman would be happy to forget to mention it if

Thursday?

2002-01-21 Thread Dave Hodgkinson
Anyone got plans for Thursday apart from the tech meet? Lunch?

RE: I want it now ...

2002-01-21 Thread Ivor Williams
Merijn Broeren [mailto:[EMAIL PROTECTED]] wrote > > Maybe you can ask the powers that be whether the ^=~ operator has a > > name? > > I've already named it last year, and you just have to follow suit: > > the dragon operator > > See, it's a point headed dragon that breathes fire to the right. >

Re: I want it now ...

2002-01-21 Thread Merijn Broeren
Quoting Paul Johnson ([EMAIL PROTECTED]): > On Sat, Jan 19, 2002 at 02:48:48AM +, Andrew Wilson wrote: > > > Some stuff has changed. We were in a guru session with Larry and > > Damien about Apoc 4 earlier in the week[1] and they mentioned that > > some stuff has changed. I can't remember o

Re: Erm, Hello?

2002-01-21 Thread Piers Cawley
Ivor Williams <[EMAIL PROTECTED]> writes: > Jonathan Peterson [mailto:[EMAIL PROTECTED]] wrote > > >> > what? .. with *4* spaces ?? come come mr McCarroll, we all know it is 2 >> > spaces ... :) > >> Spaces? SPACES?!!! It's called a tab, Tee Ay Bee. Code is indented with >> TABs, not spaces. O

Re: Erm, Hello?

2002-01-21 Thread Dominic Mitchell
Jonathan Stowe <[EMAIL PROTECTED]> writes: > I have this problem with Term::Cap that the diffs always report stuff > being different between my (i.e. the CPAN version ) and the core version - > this is always todo with weird white space handling :( I always use diff -b to ignore such things as me

Re: Erm, Hello?

2002-01-21 Thread Tony Kennick
On Sun, 20 Jan 2002 16:41:10 + David Cantrell <[EMAIL PROTECTED]> wrote: > On Sun, Jan 20, 2002 at 04:23:46PM +, Greg McCarroll wrote: > > * Dominic Mitchell ([EMAIL PROTECTED]) wrote: > > > > > > $foo ? do_foo_stuff() : do_other_stuff(); > > > > > > > Ok, this started off as a bi

Re: Erm, Hello?

2002-01-21 Thread Tony Kennick
On Sun, 20 Jan 2002 16:41:10 + David Cantrell <[EMAIL PROTECTED]> wrote: > On Sun, Jan 20, 2002 at 04:23:46PM +, Greg McCarroll wrote: > > * Dominic Mitchell ([EMAIL PROTECTED]) wrote: > > > > > > $foo ? do_foo_stuff() : do_other_stuff(); > > > > > > > Ok, this started off as a bi

RE: Erm, Hello?

2002-01-21 Thread Ivor Williams
Jonathan Peterson [mailto:[EMAIL PROTECTED]] wrote > > what? .. with *4* spaces ?? come come mr McCarroll, we all know it is 2 > > spaces ... :) > Spaces? SPACES?!!! It's called a tab, Tee Ay Bee. Code is indented with > TABs, not spaces. Only bad bad people use spaces to indent. ... or bad

Re: [OT] Exam Question

2002-01-21 Thread Struan Donald
* at 21/01 11:00 - Ivor Williams said: > Thought this might amuse the Perl mongers. :-> > I. > > Subject: EXAM QUESTION http://www.snopes2.com/college/exam/hell.htm would seem to throw doubt on the veracity of this tale s

Re: Erm, Hello?

2002-01-21 Thread Jonathan Peterson
> what? .. with *4* spaces ?? come come mr McCarroll, we all know it is 2 > spaces ... :) Spaces? SPACES?!!! It's called a tab, Tee Ay Bee. Code is indented with TABs, not spaces. Only bad bad people use spaces to indent. -- Jonathan Peterson Technical Manager, Unified Ltd, +44 (0)20 7383 60

[OT] Exam Question

2002-01-21 Thread Ivor Williams
Thought this might amuse the Perl mongers. :-> I. Subject: EXAM QUESTION The following is an actual question given on a University of Washington engineering mid term exam.The answer was so "profound" that the Professor shared it with colleagues, which is why we now have the pleasure of enjoying

Re: Erm, Hello?

2002-01-21 Thread Nick Cleaton
On Mon, Jan 21, 2002 at 09:00:56AM +, Piers Cawley wrote: > > I've seen it used as a 'switch' type operator: > >$cond1 ? action1() : >$cond2 ? action2() : >$cond3 ? action3() : >... >$condN ? actionN(); > > and I'm still not sure whether I utterly hate it or not... > >

Re: Erm, Hello?

2002-01-21 Thread Piers Cawley
David Cantrell <[EMAIL PROTECTED]> writes: > On Sun, Jan 20, 2002 at 04:23:46PM +, Greg McCarroll wrote: >> * Dominic Mitchell ([EMAIL PROTECTED]) wrote: >> > >> > $foo ? do_foo_stuff() : do_other_stuff(); >> > >> >> Ok, this started off as a bit of a joke/troll, however i'm about to >

Re: Erm, Hello?

2002-01-21 Thread Piers Cawley
Dominic Mitchell <[EMAIL PROTECTED]> writes: > Piers Cawley <[EMAIL PROTECTED]> writes: > >> You're still wrong in the oneline case: >> >> if ($foo) { do_foo_stuff() } >> else { do_other_stuff() } > > Are you sure it isn't: > > $foo ? do_foo_stuff() : do_other_stuff(); What? The ternar