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,
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
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
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 /^[^#]*
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
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'...
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
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
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
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
I just want a good quality linux capable and usable Webcam...
i have a cheapo eyestar //el one to swap or smash to bits in front of
you...
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
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
* [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
> "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"
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
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
> "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
> "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
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
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
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
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."
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
Anyone got plans for Thursday apart from the tech meet? Lunch?
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.
>
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
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
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
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
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
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
* 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
> 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
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
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...
>
>
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
>
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
39 matches
Mail list logo