Re: London.pm Aptitude Test

2003-03-07 Thread David H. Adler
On Thu, Feb 27, 2003 at 10:46:04AM -0500, Chris Devers wrote: > > That & I'm on a different continent, but nobody's perfect... Well, I've certainly never let the whole "different continent" thing bother *me*... :_) dha -- David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/ "Dir-ty

Re: iCal Re: website update needed

2003-03-07 Thread Paul Sharpe
Paul Mison wrote: On 07/03/2003 at 15:13 +, Mark Fowler wrote: There's an utterly unofficial .ics that I intermittently hit with iCal at http://husk.org/misc/irc/london.pm.ics [updated this morning, if you want to refresh it] I updated http://calendar.russellsharpe.com/. I'm planning on

Re: XML::Parser - using object methods as handlers

2003-03-07 Thread Rhys Hopkins
darren chamberlain wrote: * Rhys Hopkins [2003-03-07 12:00]: You can pass anonymous subroutines that contain references to your object as the handlers. For example: wicked!... excellent!... superbo!!... muchos gracias! (wishes he had asked earlier and saved hours of frustration) Many thanks, R

Re: iCal Re: website update needed

2003-03-07 Thread alex
On Fri, 2003-03-07 at 15:44, Paul Mison wrote: > There are resources to play with ics/ical (note the lack of cap) > files in Perl, but they're rather experimental still, and I don't > know what they are off the top of my head (although they're related > to Reefknot, I believe). I think Alex Mcle

Re: XML::Parser - using object methods as handlers

2003-03-07 Thread darren chamberlain
* Rhys Hopkins [2003-03-07 12:00]: > In my reference book (Perl & XML by Ray & McIntosh) it clearly states > that one can use object methods as handlers to avoid this global > variable scenario. However, the book and the XML::Parser manpage fail > to give specific examples as to how this is accomp

XML::Parser - using object methods as handlers

2003-03-07 Thread Rhys Hopkins
Hi, Please excuse the bumbling ineptitude which typifies my (thankfully) rare submissions to this list. On the previous previous occasions I have asked questions, the answer has been embarrassingly straightforward. I am kind of hoping for the same this time. (Also please excuse if there is a d

Re: iCal Re: website update needed

2003-03-07 Thread Paul Mison
On 07/03/2003 at 15:13 +, Mark Fowler wrote: There's an utterly unofficial .ics that I intermittently hit with iCal at http://husk.org/misc/irc/london.pm.ics [updated this morning, if you want to refresh it] So how do I parse these files from Perl then? It'd be nice if I could just upload

Re: A sad announcement

2003-03-07 Thread David Cantrell
On Fri, Mar 07, 2003 at 09:24:48AM +, Lusercop wrote: > On Wed, Mar 05, 2003 at 04:26:11PM +, David Cantrell wrote: > > It is with regret that I have to announce the passing of my Copious Free > > Time, as I have imminent unrecovery. I shall shortly be back doing > > programming with a sid

Re: iCal Re: website update needed

2003-03-07 Thread Richard Clamp
On Fri, Mar 07, 2003 at 03:13:14PM +, Mark Fowler wrote: > > There's an utterly unofficial .ics that I intermittently hit with iCal at > > > > http://husk.org/misc/irc/london.pm.ics > > So how do I parse these files from Perl then? Net::ICal looks to be the hammer for this walnut: http://sear

iCal Re: website update needed

2003-03-07 Thread Mark Fowler
> There's an utterly unofficial .ics that I intermittently hit with iCal at > > http://husk.org/misc/irc/london.pm.ics > > However, it doesn't have meeting locations, merely dates. It's not > likely to have, either, but feel free to use it as the base for one > that does. So how do I parse these f

Re: regrouping lines of STDIN

2003-03-07 Thread Andrew Wilson
On Fri, Mar 07, 2003 at 01:24:43PM +, Joel Bernstein wrote: > > while () { > > if (my ( $code ) = /$rxp/g) { > if ( my ($code) =~ /$rxp/g ) ... surely? ie, s/=/=~/ That's not a substution, it's assigning the result of the pattern match to $code. /$rxp/g is matching against $_ not

Re: regrouping lines of STDIN

2003-03-07 Thread Randal L. Schwartz
> "Luis" == Luis Campos de Carvalho <[EMAIL PROTECTED]> writes: Luis> # I think you should rewrite this: Luis> # > push @{ $seen{$code} } , $_; Luis> # Like this: Luis> if( exists $seen{$code} ){ Luis> # I already used this array ref... Luis>

Re: regrouping lines of STDIN -> hashtable algorithm?

2003-03-07 Thread Randal L. Schwartz
> "TSchutzerWeissmann" == TSchutzerWeissmann <[EMAIL PROTECTED]> writes: TSchutzerWeissmann> Hi Luis, TSchutzerWeissmann> ... >> Looks like a hashtable algorithm... just curious. =-] TSchutzerWeissmann> don't know what one of those is... TSchutzerWeissmann> ... >> # First time for this array

Re: regrouping lines of STDIN -> hashtable algorithm?

2003-03-07 Thread Roger Burton West
On Fri, Mar 07, 2003 at 01:56:50PM -, [EMAIL PROTECTED] wrote: >But I think I can do this on the command-line with sort, somehow, all I want >to do is sort on the 24th to 26th character of every line, instead of the >whole thing. sort +.23 -25 (character numbering starts at 0) Roger

RE: regrouping lines of STDIN

2003-03-07 Thread TSchutzerWeissmann
Title: RE: regrouping lines of STDIN > Dunno, it displays as 3 characters on my screen.  Maybe "mbm" > is a funny > foreign multi-byte character that's sometimes difficult for > others to get > to grips with. > > > the hatter > > yes, more sinned against than sinning, typo-wise,Wise,Wize

Re: regrouping lines of STDIN

2003-03-07 Thread Joel Bernstein
On Fri, Mar 07, 2003 at 01:47:36PM +, the hatter wrote: > On Fri, 7 Mar 2003, Lusercop wrote: > > > On Fri, Mar 07, 2003 at 01:25:29PM +, Joel Bernstein wrote: > > > Ahh, so that's what he meant. Yeah. what mbm said > > ^^^ > > who's this

Re: regrouping lines of STDIN

2003-03-07 Thread the hatter
On Fri, 7 Mar 2003, Lusercop wrote: > On Fri, Mar 07, 2003 at 01:25:29PM +, Joel Bernstein wrote: > > Ahh, so that's what he meant. Yeah. what mbm said > ^^^ > who's this "mbm" character? Dunno, it displays as 3 characters on my screen. Mayb

RE: regrouping lines of STDIN -> hashtable algorithm?

2003-03-07 Thread TSchutzerWeissmann
Title: RE: regrouping lines of STDIN -> hashtable algorithm? Hi Luis, ... >   Looks like a hashtable algorithm... just curious. =-] don't know what one of those is... ... >   # First time for this array ref... >   $seen{$code} = [ $_ ]; yup, [ ] was what I was looking for.

RE: regrouping lines of STDIN

2003-03-07 Thread TSchutzerWeissmann
Title: RE: regrouping lines of STDIN Lusercop points out > >     for (%seen) { >  ^ "values %seen" is more likely what you want here. Of course! I was far too caught up with making the array ref in the first place (well, it's exciting the first few times). Thank you. Don't unde

Re: regrouping lines of STDIN

2003-03-07 Thread Luis Campos de Carvalho
- Original Message - From: <[EMAIL PROTECTED]> Sent: Friday, March 07, 2003 10:03 AM > Hello London.pm > > first let me apologise, [...] an HTML version [...] Don't worry about this. Can anybody please send a no-more-than-twenty-chars-HTML-filtering-perl-script to Mr. Schutzer? >

Re: regrouping lines of STDIN

2003-03-07 Thread Lusercop
On Fri, Mar 07, 2003 at 01:25:29PM +, Joel Bernstein wrote: > Ahh, so that's what he meant. Yeah. what mbm said ^^^ who's this "mbm" character? :-) -- Lusercop.net - LARTing Lusers everywhere since 2002

Re: regrouping lines of STDIN

2003-03-07 Thread Joel Bernstein
On Fri, Mar 07, 2003 at 01:20:42PM +, Lusercop wrote: > On Fri, Mar 07, 2003 at 01:03:33PM -, [EMAIL PROTECTED] wrote: > > for (%seen) { > ^ "values %seen" is more likely what you want here. > > > > It won't work with strict because I get "Can't use string ("AA") as an ARR

Re: regrouping lines of STDIN

2003-03-07 Thread Joel Bernstein
On Fri, Mar 07, 2003 at 01:03:33PM -, [EMAIL PROTECTED] wrote: > Hello London.pm > > first let me apologise, I know this mail will be accompanied by an HTML > version & I don't know how to prevent it. Outlook swears I'm using plain > text but somehow it doesn't end up that way. So, sorry... >

Re: regrouping lines of STDIN

2003-03-07 Thread Lusercop
On Fri, Mar 07, 2003 at 01:03:33PM -, [EMAIL PROTECTED] wrote: > for (%seen) { ^ "values %seen" is more likely what you want here. > > It won't work with strict because I get "Can't use string ("AA") as an ARRAY > ref while "strict refs" in use." How do I use a proper array

regrouping lines of STDIN

2003-03-07 Thread TSchutzerWeissmann
Title: regrouping lines of STDIN Hello London.pm first let me apologise, I know this mail will be accompanied by an HTML version & I don't know how to prevent it. Outlook swears I'm using plain text but somehow it doesn't end up that way. So, sorry... This is intended to re-sort STDIN accor

Re: website update needed

2003-03-07 Thread Mark Fowler
On Thu, 6 Mar 2003, Paul Mison wrote: > overall XML update No, it'd just fallen off my todo list. And I'm behind with my email (hectic week this week) so I only just got to here. I'll do it when I have a free five minutes, I promise. Someone please shout at me if I haven't updated it by Monday

More Tech Meet Details.

2003-03-07 Thread Mark Fowler
People were asking me for more details on the Tech Meet last night, so now I have them I'll let you know: Celia Romaniuk will be speaking about FOAF, a standard for describing relationships between people. She's been working at the BBC to use this to map the interactions between the characters in

Re: A sad announcement

2003-03-07 Thread Lusercop
On Wed, Mar 05, 2003 at 04:26:11PM +, David Cantrell wrote: > It is with regret that I have to announce the passing of my Copious Free > Time, as I have imminent unrecovery. I shall shortly be back doing > programming with a side-order of adminning. Where? As a fairy programmer? -- Lusercop