From russell-belfast-pm at futureless.org Sat Dec 1 14:21:30 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: [paul_marquess@yahoo.co.uk: RE: [PATCH] DB_File 1.800] Message-ID: <20011201202130.A668@futureless.org> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011201/325de0a6/attachment.bin From paul_marquess at yahoo.co.uk Sat Dec 1 18:08:08 2001 From: paul_marquess at yahoo.co.uk (Paul Marquess) Date: Tue Aug 3 23:54:20 2004 Subject: [paul_marquess@yahoo.co.uk: RE: [PATCH] DB_File 1.800] In-Reply-To: <20011201202130.A668@futureless.org> Message-ID: From: Russell Matbouli > > I think this is what was mentioned at the last meeting, for those who > are interested. Indeed it is. Paul _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From karen at kasei.com Tue Dec 4 07:15:16 2001 From: karen at kasei.com (Karen Pauley) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... Message-ID: <20011204131516.B31588@soto.kasei.com> The Ginger Tree has been booked for 7pm next Monday night (10th December). The following is the list of people that I expect to see there. Russell + Leah Tony Marty Karen Liyang Marc Steve Andrew Duggie Scott The address of the Ginger Tree is: 29 Ballyrobert Rd Glengormley If you don't know where this is please ask Andrew Wilson :) Is everyone O.K. for transport? -- Karen From tony at kasei.com Tue Dec 4 07:26:00 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011204131516.B31588@soto.kasei.com> References: <20011204131516.B31588@soto.kasei.com> Message-ID: <20011204132600.A1131@soto.kasei.com> On Tue, Dec 04, 2001 at 01:15:16PM +0000, Karen Pauley wrote: > The Ginger Tree has been booked for 7pm next Monday night (10th > December). The following is the list of people that I expect to see > there. So Schwern can't make it, then? ;) Tony From liyang at nerv.cx Tue Dec 4 09:40:36 2001 From: liyang at nerv.cx (Liyang Hu) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011204131516.B31588@soto.kasei.com>; from karen@kasei.com on Tue, Dec 04, 2001 at 01:15:16PM +0000 References: <20011204131516.B31588@soto.kasei.com> Message-ID: <20011204154036.C12427@srcf.ucam.org> Hi, On Tue, Dec 04, 2001 at 01:15:16PM +0000, Karen Pauley wrote: > The Ginger Tree has been booked for 7pm next Monday night > Is everyone O.K. for transport? I wouldn't mind a lift, if anyone's coming from the Cairnshill area ... /Liyang -- .--| Liyang Hu |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | Real programmers don't bring brownbag lunches. If the vending machines | | don't sell it, they don't eat it. Vending machines don't sell quiche. | From liyang at nerv.cx Sat Dec 8 22:38:16 2001 From: liyang at nerv.cx (Liyang Hu) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011204154036.C12427@srcf.ucam.org>; from liyang@nerv.cx on Tue, Dec 04, 2001 at 03:40:36PM +0000 References: <20011204131516.B31588@soto.kasei.com> <20011204154036.C12427@srcf.ucam.org> Message-ID: <20011209043816.A26863@srcf.ucam.org> Hi, Replying to myself and all that ... Right, this is my last attempt to beg for help: is there /anyone/ in south-ish Belfast willing to give me a lift on Monday evening? Please? I'm really stuck here without transport, and unless someone magically discovers a long forgotten bus route that leads to the Ginger Tree ... ;_; Thanks, /Liyang -- .--| Liyang Hu |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | HELLO KITTY gang terrorizes town, family STICKERED to death! | From mwk at stray-toaster.co.uk Sun Dec 9 04:06:05 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011209043816.A26863@srcf.ucam.org>; from Liyang Hu on Sun, Dec 09, 2001 at 04:38:16AM +0000 References: <20011204131516.B31588@soto.kasei.com> <20011204154036.C12427@srcf.ucam.org> <20011209043816.A26863@srcf.ucam.org> Message-ID: <20011209100605.A17687@tux.blackstar.co.uk> On Sun, Dec 09, 2001 at 04:38:16AM +0000, Liyang Hu wrote: > Right, this is my last attempt to beg for help: is there /anyone/ > in south-ish Belfast willing to give me a lift on Monday evening? > Please? > I would, if you have a helmet..... m. From tony at kasei.com Sun Dec 9 08:37:15 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011209043816.A26863@srcf.ucam.org> References: <20011204131516.B31588@soto.kasei.com> <20011204154036.C12427@srcf.ucam.org> <20011209043816.A26863@srcf.ucam.org> Message-ID: <20011209143715.A15158@soto.kasei.com> On Sun, Dec 09, 2001 at 04:38:16AM +0000, Liyang Hu wrote: > Right, this is my last attempt to beg for help: is there /anyone/ > in south-ish Belfast willing to give me a lift on Monday evening? > Please? I'm sure we'll be able to come up with something .... You're up around Four Winds somewhere, aren't you? Tony From liyang at nerv.cx Sun Dec 9 10:39:03 2001 From: liyang at nerv.cx (Liyang Hu) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011209143715.A15158@soto.kasei.com>; from tony@kasei.com on Sun, Dec 09, 2001 at 02:37:15PM +0000 References: <20011204131516.B31588@soto.kasei.com> <20011204154036.C12427@srcf.ucam.org> <20011209043816.A26863@srcf.ucam.org> <20011209143715.A15158@soto.kasei.com> Message-ID: <20011209163903.A29411@srcf.ucam.org> On Sun, Dec 09, 2001 at 02:37:15PM +0000, Tony Bowden wrote: > On Sun, Dec 09, 2001 at 04:38:16AM +0000, Liyang Hu wrote: > > is there /anyone/ in south-ish Belfast willing to give me a > > lift on Monday evening? Please? > You're up around Four Winds somewhere, aren't you? That's right. I've one offer to share a taxi so far ... /Liyang -- .--| Liyang Hu |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | ... life is important. It's not only life of babies, but it's life of | | children living in, you know, the dark dungeons of the Internet. | | -- George `Dubya' Bush, 2000-10-24 | From russell-blug at futureless.org Sun Dec 9 17:25:47 2001 From: russell-blug at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: [BLUG] perl 5.6.1 In-Reply-To: References: Message-ID: <20011209232547.A31239@futureless.org> (cc'd to Belfast.pm as it probably belongs there rather than here) On Sun, Dec 09, 2001 at 09:50:06PM +0000, Scott McWhirter wrote: > has anyone noticed that the install (mine's by debian apt-get) for perl > 5.6.1 doesn't seem to recognise any of the folders in your old @INC? > It's weirder than that but i won't go into detail.... any help would be > appreciated. Perl puts modules in directories with version numbers somewhere in the path. Is this maybe what the problem is that you're seeing? What version of perl were you running before? What was its @INC and what is your current @INC? What is it that perl can't find in @INC? Are you sure it exists? -- Russell Matbouli | russell@futureless.org | Hospital closures kill more than carbombs ever will. PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011209/5f724ac1/attachment.bin From duggie-belfast-pm at blackstar.co.uk Mon Dec 10 04:08:40 2001 From: duggie-belfast-pm at blackstar.co.uk (duggie-belfast-pm@blackstar.co.uk) Date: Tue Aug 3 23:54:20 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011209163903.A29411@srcf.ucam.org>; from liyang@nerv.cx on Sun, Dec 09, 2001 at 04:39:03PM +0000 References: <20011204131516.B31588@soto.kasei.com> <20011204154036.C12427@srcf.ucam.org> <20011209043816.A26863@srcf.ucam.org> <20011209143715.A15158@soto.kasei.com> <20011209163903.A29411@srcf.ucam.org> Message-ID: <20011210100840.A10400@blackstar.co.uk> On (09/12/01 16:39), Liyang Hu wrote: > On Sun, Dec 09, 2001 at 02:37:15PM +0000, Tony Bowden wrote: > > On Sun, Dec 09, 2001 at 04:38:16AM +0000, Liyang Hu wrote: > > > is there /anyone/ in south-ish Belfast willing to give me a > > > lift on Monday evening? Please? > > You're up around Four Winds somewhere, aren't you? > > That's right. > > I've one offer to share a taxi so far ... > > /Liyang Hi Liyang! Four Winds you say? I'll give you a lift. Call me & I'l figure out where to get you & what time. Thanks Duggie From steve-belfastpm at deeden.co.uk Mon Dec 10 05:58:34 2001 From: steve-belfastpm at deeden.co.uk (Steve Rushe) Date: Tue Aug 3 23:54:20 2004 Subject: IRC Message-ID: <20011210065834.A46772@deeden.co.uk> I presume someone on the list created #belfast.pm on irc.rhizomatic.net? When did that happen? Why is nobody ever there? What's that about Gary Neville Marc? Steve -- Steve Rushe - www.deeden.co.uk I've given you so much rope you should have been hanging for days. Sugarcoated - Aimee Mann From mwk at stray-toaster.co.uk Mon Dec 10 06:02:10 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:20 2004 Subject: IRC In-Reply-To: <20011210065834.A46772@deeden.co.uk>; from Steve Rushe on Mon, Dec 10, 2001 at 06:58:34AM -0500 References: <20011210065834.A46772@deeden.co.uk> Message-ID: <20011210120210.N27788@tux.blackstar.co.uk> On Mon, Dec 10, 2001 at 06:58:34AM -0500, Steve Rushe wrote: > I presume someone on the list created #belfast.pm on irc.rhizomatic.net? > When did that happen? Why is nobody ever there? What's that about Gary Neville > Marc? Weren't me, guv. I may be an IRCer, but never had the wit to create the channel. Is there an infobot running to keep it open? Yes, I could go see, but I am busy telling the News Of The World the Truth about Fergie and Nevvie. m. From steve-belfastpm at deeden.co.uk Mon Dec 10 06:06:32 2001 From: steve-belfastpm at deeden.co.uk (Steve Rushe) Date: Tue Aug 3 23:54:20 2004 Subject: IRC In-Reply-To: <20011210120210.N27788@tux.blackstar.co.uk>; from mwk@stray-toaster.co.uk on Mon, Dec 10, 2001 at 12:02:10PM +0000 References: <20011210065834.A46772@deeden.co.uk> <20011210120210.N27788@tux.blackstar.co.uk> Message-ID: <20011210070632.A47048@deeden.co.uk> On Mon, Dec 10, 2001 at 12:02:10PM +0000, Stray Toaster wrote: > > Weren't me, guv. I may be an IRCer, but never had the wit to create the > channel. Is there an infobot running to keep it open? Yes, I could go > see, but I am busy telling the News Of The World the Truth about Fergie > and Nevvie. Tis only me atm. There ain't no bot. I know what you're thinking now Marc! Resist the temptation. As for F&N, it's their business and I don't see why you're condemning them for what they're doing (allegedly). Steve -- Steve Rushe - www.deeden.co.uk I've given you so much rope you should have been hanging for days. Sugarcoated - Aimee Mann From mwk at stray-toaster.co.uk Mon Dec 10 06:11:37 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:20 2004 Subject: IRC In-Reply-To: <20011210070632.A47048@deeden.co.uk>; from Steve Rushe on Mon, Dec 10, 2001 at 07:06:32AM -0500 References: <20011210065834.A46772@deeden.co.uk> <20011210120210.N27788@tux.blackstar.co.uk> <20011210070632.A47048@deeden.co.uk> Message-ID: <20011210121137.O27788@tux.blackstar.co.uk> On Mon, Dec 10, 2001 at 07:06:32AM -0500, Steve Rushe wrote: > > Tis only me atm. There ain't no bot. I know what you're thinking now Marc! > Resist the temptation. As for F&N, it's their business and I don't see why > you're condemning them for what they're doing (allegedly). oh, and me now too! hey Steve, I can talk to you from tty8 while listening to Cat Stevens! hurrah! I spose I could take my headphones off and, gasp, *speak* to you.... m. From sleepy_uk at hotmail.com Mon Dec 10 09:15:31 2001 From: sleepy_uk at hotmail.com (Scott McWhirter) Date: Tue Aug 3 23:54:20 2004 Subject: tonight Message-ID: hello, Just to ask again, would anyone be willing to give me a lift from east-belfast/city centre? And i'm assuming this won't be a shirt and tie deal? -- -Scott McWhirter- | -kungfuftr- PGP key id: 0x3C79CF1D _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From liyang at nerv.cx Tue Dec 11 10:54:52 2001 From: liyang at nerv.cx (Liyang Hu) Date: Tue Aug 3 23:54:20 2004 Subject: Advent Message-ID: <20011211165452.A3612@srcf.ucam.org> A bit late, but I don't think anyone mentioned this yet ... http://www.twoshortplanks.com/xmas/ (Although knowing where it came from, I suppose most of this list's subscribers will have already seen it.) /Liyang -- .--| Liyang Hu |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | "Up your butt with a coconut!" | | "You've got facial hair like a polar bear!" | | -- Daphne and Celeste: "Ooh Stick You" | From russell-belfast-pm at futureless.org Sat Dec 15 10:24:48 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: This is the __END__ Message-ID: <20011215162448.C23243@futureless.org> I'm using a __DATA__ section in a module I'm writing and I'm accessing it via . I get this error message when I run 'make' after doing 'perl Makefile.PL' (generated by h2xs). Can't find __END__ in blib/lib/Text/Echelon.pm make: *** [pm_to_blib] Error 255 Why am I getting this error message? I made it go away by putting __END__ on the very last line of the module, but why did I have to? (Alternatively, why doesn't it just DWIM - it works fine otherwise...) Oh, and I had a great night on Monday! We should do social things more often... -- Russell Matbouli | PGP encrypted mail preferred. Key Fingerprint: russell@futureless.org | 475A 04E8 FE1B 851B A391 5237 74C9 0D1B 3CA8 4CF4 PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011215/a7c9dd3f/attachment.bin From schwern at pobox.com Sat Dec 15 11:09:31 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:20 2004 Subject: This is the __END__ In-Reply-To: <20011215162448.C23243@futureless.org> References: <20011215162448.C23243@futureless.org> Message-ID: <20011215170930.GD1548@blackrider> On Sat, Dec 15, 2001 at 04:24:48PM +0000, Russell Matbouli wrote: > I'm using a __DATA__ section in a module I'm writing and I'm accessing it > via . I get this error message when I run 'make' after doing 'perl > Makefile.PL' (generated by h2xs). > > Can't find __END__ in blib/lib/Text/Echelon.pm > make: *** [pm_to_blib] Error 255 Maybe its a Warhol module. Empire.pm, where eight hours of compiling is paid off by an explosion of errors at the end. Or maybe you generated your module with an oldish version of h2xs and there's a spurious "use AutoLoader" in your module and AutoSplit is griping because it can't find any subroutines to autoload? -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl Quality Assurance Kwalitee Is Job One Commence simultaneous panic on my mark. From russell-belfast-pm at futureless.org Sat Dec 15 11:41:11 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: This is the __END__ In-Reply-To: <20011215170930.GD1548@blackrider> References: <20011215162448.C23243@futureless.org> <20011215170930.GD1548@blackrider> Message-ID: <20011215174111.E23243@futureless.org> On Sat, Dec 15, 2001 at 12:09:31PM -0500, Michael G Schwern wrote: > Maybe its a Warhol module. Empire.pm, where eight hours of compiling > is paid off by an explosion of errors at the end. Yes, I was forcing my module to drink Spanish beer then piss on the canvas... Sorry, I don't know what you're talking about :) > Or maybe you generated your module with an oldish version of h2xs and > there's a spurious "use AutoLoader" in your module and AutoSplit is > griping because it can't find any subroutines to autoload? This could be it. I haven't had the necessary upgrading perl tuits, so I'm running 5.6.0 on this particular machine. h2xs put in 'use Autoloader' and 'use Exporter', but I assume I don't need either of these as the module is OO and doesn't autoload or export anything. Hmm, even removing all the h2xs added stuff except for 'use vars qw($VERSION)' still gives the same error message. (5.6.1 gives the message too. I'll assume it's something I'm doing wrong :) I'll check the code and try to isolate what's causing it.) -- Russell Matbouli | russell@futureless.org | I love your eyes but only with ketchup PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011215/df82f32e/attachment.bin From schwern at pobox.com Sat Dec 15 12:16:15 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:20 2004 Subject: This is the __END__ In-Reply-To: <20011215174111.E23243@futureless.org> References: <20011215162448.C23243@futureless.org> <20011215170930.GD1548@blackrider> <20011215174111.E23243@futureless.org> Message-ID: <20011215181615.GE1548@blackrider> On Sat, Dec 15, 2001 at 05:41:11PM +0000, Russell Matbouli wrote: > On Sat, Dec 15, 2001 at 12:09:31PM -0500, Michael G Schwern wrote: > > Maybe its a Warhol module. Empire.pm, where eight hours of compiling > > is paid off by an explosion of errors at the end. > > Yes, I was forcing my module to drink Spanish beer then piss on the > canvas... Sorry, I don't know what you're talking about :) "Empire" is an eight hour Warhol film of the Empire State Building. That's it, just a building. Its more scenery than film, really. The Big Climax comes at the end when night falls and the lights on top of the building turn on. Anyhow, just seems to go on without __END__. > Hmm, even removing all the h2xs added stuff except for 'use vars > qw($VERSION)' still gives the same error message. (5.6.1 gives the > message too. I'll assume it's something I'm doing wrong :) I'll > check the code and try to isolate what's causing it.) Weird, that's definately an AutoSplit error message. Try a 'make realclean' and re-running the Makefile.PL to regenerate your Makefile. -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl Quality Assurance Kwalitee Is Job One MERV GRIFFIN! From russell-belfast-pm at futureless.org Sat Dec 15 12:58:47 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: This is the __END__ In-Reply-To: <20011215174111.E23243@futureless.org> References: <20011215162448.C23243@futureless.org> <20011215170930.GD1548@blackrider> <20011215174111.E23243@futureless.org> Message-ID: <20011215185847.G23243@futureless.org> On Sat, Dec 15, 2001 at 05:41:11PM +0000, Russell Matbouli wrote: > I'll check the code and try to isolate what's causing it.) Self-contained example - do the following: h2xs -AXn Foo cd Foo vi Foo.pm put this into Foo.pm: --- START --- package Foo; # @ISA = qw(AutoLoader); 1; __DATA__ foo --- END --- perl Makefile.PL make Now you'll get the error message. Note the 2nd line is commented out. Remove the line, make distclean and redo perl Makefile.PL and make and there's no error message... So, what have I done wrong here, or have I just unearthed another bug? The parser shouldn't look at that line because it is commented out... parser bug? -- Russell Matbouli | SOY! SOY! SOY! Soy makes you strong! russell@futureless.org | Strength crushes enemies! SOY! PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011215/ea248c11/attachment.bin From schwern at pobox.com Sat Dec 15 14:00:39 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:20 2004 Subject: This is the __END__ In-Reply-To: <20011215185847.G23243@futureless.org> References: <20011215162448.C23243@futureless.org> <20011215170930.GD1548@blackrider> <20011215174111.E23243@futureless.org> <20011215185847.G23243@futureless.org> Message-ID: <20011215200038.GI1548@blackrider> On Sat, Dec 15, 2001 at 06:58:47PM +0000, Russell Matbouli wrote: > So, what have I done wrong here, or have I just unearthed another bug? > The parser shouldn't look at that line because it is commented out... > parser bug? That would be a bug, yep. And its still in bleadperl. Will fix. -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl Quality Assurance Kwalitee Is Job One Some like elmers glue but it needs reapplying. I use super glue. -- tlk From russell-belfast-pm at futureless.org Sat Dec 15 14:06:48 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: [schwern@pobox.com: [PATCH lib/AutoSplit.pm] Fwd: [russell-belfast-pm@futureless.org: Re: This is the __END__]] Message-ID: <20011215200648.A24943@futureless.org> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011215/c7d61e21/attachment.bin From russell-belfast-pm at futureless.org Sat Dec 15 18:49:49 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: [schwern@pobox.com: [PATCH lib/AutoSplit.pm] Fwd: [russell-belfast-pm@futureless.org: Re: This is the __END__]] In-Reply-To: <20011215200648.A24943@futureless.org> References: <20011215200648.A24943@futureless.org> Message-ID: <20011216004949.A25671@futureless.org> > --- lib/AutoSplit.pm 2001/12/15 20:04:00 1.1 > +++ lib/AutoSplit.pm 2001/12/15 20:04:52 > @@ -238,6 +238,7 @@ > $in_pod = 1 if /^=\w/; > $in_pod = 0 if /^=cut/; > next if ($in_pod || /^=cut/); > + next if /^\s*#/; Why are you looking specifically for whitespace here? Couldn't it also possibly be anything followed by a #? This occured to me while I was falling asleep and had to wake up and boot up my computer again :) (aka - std disclaimer if this turns out to be nonesense or evidence that I'm Perl obsessed if it turns out to be true.) (I checked this on a bleadperl from May and it was the same at this portion of the code.) Thanks for finding out what this was and patching it so quickly, Mike :) > > # record last package name seen > $def_package = $1 if (m/^\s*package\s+([\w:]+)\s*;/); -- Russell Matbouli | russell@futureless.org | Monkey, Monkey, Monkey, Monkey, William Shatner! PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011216/95c0dba3/attachment.bin From schwern at pobox.com Sat Dec 15 19:27:59 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:20 2004 Subject: [schwern@pobox.com: [PATCH lib/AutoSplit.pm] Fwd: [russell-belfast-pm@futureless.org: Re: This is the __END__]] In-Reply-To: <20011216004949.A25671@futureless.org> References: <20011215200648.A24943@futureless.org> <20011216004949.A25671@futureless.org> Message-ID: <20011216012759.GB5672@blackrider> On Sun, Dec 16, 2001 at 12:49:49AM +0000, Russell Matbouli wrote: > > --- lib/AutoSplit.pm 2001/12/15 20:04:00 1.1 > > +++ lib/AutoSplit.pm 2001/12/15 20:04:52 > > @@ -238,6 +238,7 @@ > > $in_pod = 1 if /^=\w/; > > $in_pod = 0 if /^=cut/; > > next if ($in_pod || /^=cut/); > > + next if /^\s*#/; > > Why are you looking specifically for whitespace here? Couldn't it also > possibly be anything followed by a #? Because we're not trying to parse Perl, just a reasonable fascimile thereof. All that line does is skip any really obvious comments. -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl Quality Assurance Kwalitee Is Job One Hey Schwern! honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk! From russell-belfast-pm at futureless.org Sun Dec 16 06:13:24 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:20 2004 Subject: [RFC] Text::Echelon v0.01 Message-ID: <20011216121324.A27075@futureless.org> Hello, I've written Text::Echelon after realising that my X-Echelon header program was very inefficient (shuffling an array instead of just taking a random element from the array). I wanted to get some feedback before putting it on CPAN, so please have a look at the code and tell me what I'm doing wrong. I'm not sure if my tests are doing the right thing even. Have I just got The Wrong Idea? http://russell.matbouli.org/code/text-echelon/ Cheers -- Russell Matbouli | russell@futureless.org | ...wit all due respect PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011216/1710173e/attachment.bin From tony at kasei.com Sun Dec 16 07:56:04 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:20 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011216121324.A27075@futureless.org> References: <20011216121324.A27075@futureless.org> Message-ID: <20011216135604.A8841@soto.kasei.com> On Sun, Dec 16, 2001 at 12:13:24PM +0000, Russell Matbouli wrote: > I've written Text::Echelon after realising that my X-Echelon header > program was very inefficient (shuffling an array instead of just taking > a random element from the array). I wanted to get some feedback before > putting it on CPAN, so please have a look at the code and tell me what > I'm doing wrong. I'm not sure if my tests are doing the right thing > even. Have I just got The Wrong Idea? Looks nice! A few things I'd suggest: 1) I'd probably change some of the function names: get doesn't really tell me what it's getting. Do these all even need to be public? What about: my $te = Text::Echelon->new; print $te->header; # or $te->set_delimiter(", "); $te->set_phrases(3); $te->set_prefix("X-My-Echelon"); print $te->header; 2) You're using @wordlist in a strange way: every time you call new() you're setting a package global. You should either make this instance variable, which gets read every time (if you're going to allow instances of your class to change them in any way), or, probably, class data that only gets set once. To be honest, I'm not really sure why you've written it in an pseudo-OO style at all... 3) I'd drop the 'use warnings' - I don't see any other 5.6-isms, so no point in breaking backwards compatability... 3b) The srand() is the other lower-edge limit version of this. You haven't needed the explicit srand for quite some time... 4) while () { @wordlist = ; } probably isn't doing what you think it's doing... Or maybe it is, but not the way you'd like it to. Or something. 5) my $str = ''; for(my $currnum = 1; $currnum <= $num; $currnum++) { $str .= $self->get(); $str .= $delim unless ($currnum == $num); } return $str; This is probably better, if I read it correctly, as: my @words; push @words, $self->get for 1 .. $num; return join $delim, @words; 6) I'd suggest moving the test to Test::Simple! Saves mucking about with all that print OK / not OK stuff. Then it's easier to actually test that your code is doing what it says: e.g. instead of just testing that getmany returns a true value, you can do: ok scalar $te->getmany(4) == 4, "We got 4 phrases back"; I'd also suggest that you at least test that when setting a custom header that you check something that contains the prefix and postfix that you set etc... Hope this helps. If you want a hand tidying any of this up more, just let me know! Tony -- -------------------------------------------------------------------------- Tony Bowden | tony@tmtm.com | http://www.tmtm.com/ If I'm feigning coherence and calmness Laugh with me -------------------------------------------------------------------------- From russell at futureless.org Sun Dec 16 08:26:57 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011216135604.A8841@soto.kasei.com> References: <20011216121324.A27075@futureless.org> <20011216135604.A8841@soto.kasei.com> Message-ID: <20011216142657.B27230@futureless.org> On Sun, Dec 16, 2001 at 01:56:04PM +0000, Tony Bowden wrote: > Looks nice! Thank you. I just wanted to get something out, then fix it up when people commented on it (as you helpfully have done). I've been fixing up the pod and have added to it since then. I might release 0.02 by the time I've finished tech support today. > 1) I'd probably change some of the function names: get doesn't really > tell me what it's getting. Do these all even need to be public? Yes. This would be much better. I will probably do it this way when I figure out how (UTVi have copies of "The Perl Cookbook" and "Advanced Perl Programming", so I'm sure I'll figure out how soon enough). > 2) You're using @wordlist in a strange way: every time you call new() > you're setting a package global. You should either make this instance > variable, which gets read every time (if you're going to > allow instances of your class to change them in any way), or, probably, > class data that only gets set once. What should I do with @wordlist to make it an instance variable? Isn't it okay that this gets populated when new() is called...? > To be honest, I'm not really sure why you've written it in an pseudo-OO > style at all... Pseudo-OO is what I know... The thing about @wordlist makes more sense now. Do away with the need to call new() and just have it populate when it is first called...? Would I just do something similar in a BEGIN block? > 3) I'd drop the 'use warnings' - I don't see any other 5.6-isms, so no > point in breaking backwards compatability... Fair enough. I meant to remove that before releasing it :) > 3b) The srand() is the other lower-edge limit version of this. You haven't > needed the explicit srand for quite some time... Cargo-cultery. How should I do it? Just call rand without doing srand beforehand? > 4) while () { @wordlist = ; } > probably isn't doing what you think it's doing... > Or maybe it is, but not the way you'd like it to. > Or something. All I wanted was to make the huge list of phrases useable. My thought was to throw it into an array. It looked messy, so I put it in __DATA__ Care to explain...? > 5) > This is probably better, if I read it correctly, as: Mmmmm, looks much better. I'll use that, cheers :) > 6) I'd suggest moving the test to Test::Simple! Saves mucking about with > all that print OK / not OK stuff. Yeah. It's what h2xs generated, and I thought I'd try it out without R'ing any FMs. That's why it is stupid. I'll get a clue about testing soon... > Hope this helps. If you want a hand tidying any of this up more, just > let me know! Thanks! I'm aware that this module is ... alternately useful[1]... but I wanted to write a module and get feedback to learn from it. It has been good so far. Next step is generating suspicious natural language sentences :) [1] euphemism -- Russell Matbouli | russell@futureless.org | IN THE GRIM FUTURE OF HELLO KITTY THERE IS ONLY WAR PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011216/e73810ec/attachment.bin From andrew at rivendale.net Sun Dec 16 09:13:29 2001 From: andrew at rivendale.net (Andrew Wilson) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011216121324.A27075@futureless.org> References: <20011216121324.A27075@futureless.org> Message-ID: <20011216151329.GA2962@gandalf.rivendale.net> On Sun, Dec 16, 2001 at 12:13:24PM +0000, Russell Matbouli wrote: > Hello, > I've written Text::Echelon after realising that my X-Echelon header > program was very inefficient (shuffling an array instead of just taking > a random element from the array). I wanted to get some feedback before > putting it on CPAN, so please have a look at the code and tell me what > I'm doing wrong. I'm not sure if my tests are doing the right thing > even. Have I just got The Wrong Idea? > > http://russell.matbouli.org/code/text-echelon/ Hi Russel Mainly it doesn't work because you don't construct an object in your constructor. If you fix that the rest of the code works although you do some things that I wouldn't do. 1) You construct the wordlist in your new function this would be better moved into the pacakge initialisation. Also the while (<>) { @wordlist = ; } can be achieved with @wordlist = ; 2) You might as well just chomp the list and do your srand initialisation at package level as well. Wordlist is a package variable, standard perlstyle says it should have initial caps (I usually ignore this one, but you should be aware of what you're ignoring ;-) my @Wordlist = ; chomp @Wordlist; srand(time() ^ $$); sub new { my $class = shift; my $self = bless {}, $class; return $self; }#new 3) You dont need a lot of the temporary variables that you scatter about your code. sub get { my $self = shift; $Wordlist[rand($#Wordlist)]; }#get 4) You should try to learn how to use perl's list operators, I much prefer join $delim, map $self->get (1 .. $num); to my $str = ''; for(my $currnum = 1; $currnum <= $num; $currnum++) { $str .= $self->get(); $str .= $delim unless ($currnum == $num); } return $str; I think it's more efficient too. Just in case you can't follow it, let's run through it with your default values. (1 .. 3) this constructs the list (1, 2, 3) map $self->get (1, 2, 3) this iterates over the list you've just made making $_ an alias to each list member in turn and calling the function that you've asked it to. It calls $self->get three times, as you can see we've ignored $_ here we're just using it to make sure we call the funtion the correct number of times. The return value of the map is a list of phrases returned by the get method. join $delim, ("phrase one", "phrase two", "phrase three"); so you get "phrase one, phrase two, phrase three" which is the last thing evaluated in the method, so it gets returned. 5) You keep redefining default values for things, then you pass in the default value. You only really need to define them in the method that actually uses them and you don't need to pass in the default value. I've modified the module and wriiten another test file for it, so you can see what I'm talking about. As I've said before when you fix the constructor all the rest of it worked and these are jsut style points really. If you want to discuss any more of it give me a shout cheers Andrew -------------- next part -------------- A non-text attachment was scrubbed... Name: changed.tgz Type: application/x-gtar Size: 4972 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011216/18917ed8/changed.gtar From russell-belfast-pm at futureless.org Sun Dec 16 10:00:49 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011216151329.GA2962@gandalf.rivendale.net> References: <20011216121324.A27075@futureless.org> <20011216151329.GA2962@gandalf.rivendale.net> Message-ID: <20011216160049.A27434@futureless.org> On Sun, Dec 16, 2001 at 03:13:29PM +0000, Andrew Wilson wrote: > Mainly it doesn't work because you don't construct an object in your > constructor. If you fix that the rest of the code works although > you do some things that I wouldn't do. Thanks for pointing that out. It passes your tests now... > 1) You construct the wordlist in your new function this would be better > moved into the pacakge initialisation. I was confused. I was thinking OO but not doing OO. I understand better now, I hope. > @wordlist = ; Yes. I don't know how I got to the horrible code that was there before, but it's gone now. > 2) You might as well just chomp the list and do your srand > initialisation at package level as well. Wordlist is a package I've got rid of the srand, as Tony pointed out that it wasn't needed. Premature optimisation blah blah, but I was thinking that there's no point in chomping hundreds of scalars when only a few are going to be used... > variable, standard perlstyle says it should have initial caps (I > usually ignore this one, but you should be aware of what you're > ignoring ;-) Okay, I'm bad :) I'll try to follow perlstyle now. > 3) You dont need a lot of the temporary variables that you scatter > about your code. *nod* This is because I pasted in most of the code from a script. I much prefer how you recoded it, except for the implicit returns (my Java weenieness). > 4) You should try to learn how to use perl's list operators, I much > prefer > > join $delim, map $self->get (1 .. $num); mmm, lovely... Going to learn the list ops now... > 5) You keep redefining default values for things, then you pass in the > default value. You only really need to define them in the method that > actually uses them and you don't need to pass in the default value. Initially, I was just passing in those values, then I thought it'd be better to give sensible defaults instead (but forgot not to pass them in). > I've modified the module and wriiten another test file for it, so you > can see what I'm talking about. As I've said before when you fix the > constructor all the rest of it worked and these are jsut style points > really. If you want to discuss any more of it give me a shout Thanks a lot! Much appreciated. It's not hard to tell my baby-perl from your well written code :) -- Russell Matbouli | Your legs are like threads of cotton, russell@futureless.org | though much thicker, and filled with weevils PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011216/4c2731f0/attachment.bin From sleepy_uk at hotmail.com Mon Dec 17 09:18:52 2001 From: sleepy_uk at hotmail.com (Scott McWhirter) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 Message-ID: >@wordlist = ; my @wordlist = map { chomp; } ; unless you're gaining from somewhere other than a file. -- -Scott McWhirter- | -kungfuftr- PGP key id: 0x3C79CF1D _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From steve-pmbelfast at blackstar.co.uk Mon Dec 17 09:42:27 2001 From: steve-pmbelfast at blackstar.co.uk (Steve Rushe) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: ; from sleepy_uk@hotmail.com on Mon, Dec 17, 2001 at 03:18:52PM +0000 References: Message-ID: <20011217154227.B6136@blackstar.co.uk> On Mon, Dec 17, 2001 at 03:18:52PM +0000, Scott McWhirter wrote: > >@wordlist = ; > my @wordlist = map { chomp; } ; > unless you're gaining from somewhere other than a file. I think you'll find that you'll get a list containing the number of characters chomped off each entry in . The chomp pod says chomp "returns the total number of characters removed from all its arguments". Steve -- Steve Rushe - www.deeden.co.uk Infamy, infamy, they've all got it in for me! Julius Caesar - Carry on Cleo From wesley at yelsew.com Mon Dec 17 09:45:07 2001 From: wesley at yelsew.com (Wesley Darlington) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: References: Message-ID: <20011217154507.GA13914@delltop.blackstar.co.uk> On Mon, Dec 17, 2001 at 03:18:52PM +0000, Scott McWhirter wrote: > >@wordlist = ; > my @wordlist = map { chomp; } ; > unless you're gaining from somewhere other than a file. According to "perldoc -f chomp", chomp returns not the chomped data, but the number of characters chomped... (1,1,1,... :-) Perhaps... chomp, push @wordlist, $_ for ; ...? Wesley. From russell-belfast-pm at futureless.org Mon Dec 17 10:20:06 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011217154507.GA13914@delltop.blackstar.co.uk> References: <20011217154507.GA13914@delltop.blackstar.co.uk> Message-ID: <20011217162006.B30248@futureless.org> On Mon, Dec 17, 2001 at 03:45:07PM +0000, Wesley Darlington wrote: > chomp, push @wordlist, $_ for ; TMTOWTDI is great. I'm going to learn perl now, instead of just hacking out what works. Yes, well written perl looks so much nicer than the ramblings of an ex-java loonie... -- Russell Matbouli | russell@futureless.org | Don't stop. You can sleep when you're dead. PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011217/380f5360/attachment.bin From Andrew.Wilson at trw.com Mon Dec 17 10:07:01 2001 From: Andrew.Wilson at trw.com (Wilson, Andrew (Belfast)) Date: Tue Aug 3 23:54:21 2004 Subject: FW: [RFC] Text::Echelon v0.01 Message-ID: <65BB8AA6E3A6D211A6C500902733DD5EDAE1CE@BELFAST2> > -----Original Message----- > From: Wilson, Andrew (Belfast) > Sent: 17 December 2001 16:00 > To: 'scott@kungfuftr.com' > Subject: RE: [RFC] Text::Echelon v0.01 > > > Hi Scott > > > -----Original Message----- > > From: Scott McWhirter [mailto:sleepy_uk@hotmail.com] > > Sent: 17 December 2001 15:19 > > > > >@wordlist = ; > > my @wordlist = map { chomp; } ; > > unless you're gaining from somewhere other than a file. > > Definitely not. > > The map returns a list of the result of evaluating the block. What > is the return value of chomp? > > Let me give you a hint you will end up either with an empty list or > with a list of ("\n", "\n") for how ever many of the elements had an > EOL. > > What you really want is > > my @wordlist = ; > chomp @wordlist; > > You could make your version work by doing > > my @wordlist = map { chomp; $_ } ; > > But that's pish. Perl has a built in function for doing it. > You should always > use the built ins. Lots of very clever people have written > teh functions in c > to make sure they're efficient. > > cheers > > Andrew > From Andrew.Wilson at trw.com Mon Dec 17 10:07:28 2001 From: Andrew.Wilson at trw.com (Wilson, Andrew (Belfast)) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 Message-ID: <65BB8AA6E3A6D211A6C500902733DD5EDAE1CF@BELFAST2> Hi > -----Original Message----- > From: Steve Rushe [mailto:steve-pmbelfast@blackstar.co.uk] > Sent: 17 December 2001 15:42 > > On Mon, Dec 17, 2001 at 03:18:52PM +0000, Scott McWhirter wrote: > > >@wordlist = ; > > my @wordlist = map { chomp; } ; > > unless you're gaining from somewhere other than a file. > > I think you'll find that you'll get a list containing the number of > characters chomped off each entry in . > > The chomp pod says chomp "returns the total number of > characters removed from all its arguments". Indeed it does. You obvioulsy know perldoc perlfunc much better than I do :-/ I could have sworn it returned whatever it chopped of the end like chop does. All the rest of my previous reply still stands the map is not a good way to do this. Aha! i just realised I sent my reply directly to Scott. I'll forward it so this makes sense. cheers Andrew From Andrew.Wilson at trw.com Mon Dec 17 10:23:21 2001 From: Andrew.Wilson at trw.com (Wilson, Andrew (Belfast)) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 Message-ID: <65BB8AA6E3A6D211A6C500902733DD5EDAE1D0@BELFAST2> > -----Original Message----- > From: Wesley Darlington [mailto:wesley@yelsew.com] > Sent: 17 December 2001 15:45 > To: belfast-pm@pm.org > Subject: Re: [RFC] Text::Echelon v0.01 > > > On Mon, Dec 17, 2001 at 03:18:52PM +0000, Scott McWhirter wrote: > > >@wordlist = ; > > my @wordlist = map { chomp; } ; > > unless you're gaining from somewhere other than a file. > > According to "perldoc -f chomp", chomp returns not the chomped data, > but the number of characters chomped... (1,1,1,... :-) > > Perhaps... > chomp, push @wordlist, $_ for ; > ...? Doesn't that chomp the return value of push, which is the numbedr of elements added to the array? cheers Andrew From tony at kasei.com Mon Dec 17 11:14:18 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011217154507.GA13914@delltop.blackstar.co.uk> References: <20011217154507.GA13914@delltop.blackstar.co.uk> Message-ID: <20011217171418.A18733@soto.kasei.com> On Mon, Dec 17, 2001 at 03:45:07PM +0000, Wesley Darlington wrote: > On Mon, Dec 17, 2001 at 03:18:52PM +0000, Scott McWhirter wrote: > > >@wordlist = ; > > my @wordlist = map { chomp; } ; > Perhaps... > chomp, push @wordlist, $_ for ; Surely, chomp(my @array = ); local $" = "><"; print "We have @array\n"; __DATA__ foo bar baz Tony -- -------------------------------------------------------------------------- Tony Bowden | tony@tmtm.com | http://www.tmtm.com/ The problem is communication. Too much communication. -------------------------------------------------------------------------- From wesley at yelsew.com Mon Dec 17 11:22:13 2001 From: wesley at yelsew.com (Wesley Darlington) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <65BB8AA6E3A6D211A6C500902733DD5EDAE1D0@BELFAST2> References: <65BB8AA6E3A6D211A6C500902733DD5EDAE1D0@BELFAST2> Message-ID: <20011217172213.GA15799@delltop.blackstar.co.uk> On Mon, Dec 17, 2001 at 04:23:21PM -0000, Wilson, Andrew (Belfast) wrote: > > From: Wesley Darlington [mailto:wesley@yelsew.com] > > > > chomp, push @wordlist, $_ for ; > > Doesn't that chomp the return value of push, which is the numbedr of > elements > added to the array? Does it? , Wesley. From wesley at yelsew.com Mon Dec 17 11:59:21 2001 From: wesley at yelsew.com (Wesley Darlington) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011217171418.A18733@soto.kasei.com> References: <20011217154507.GA13914@delltop.blackstar.co.uk> <20011217171418.A18733@soto.kasei.com> Message-ID: <20011217175921.GA16330@delltop.blackstar.co.uk> On Mon, Dec 17, 2001 at 05:14:18PM +0000, Tony Bowden wrote: > On Mon, Dec 17, 2001 at 03:45:07PM +0000, Wesley Darlington wrote: > > chomp, push @wordlist, $_ for ; While I still like the above (for poetic & tamtnwtdi (*) reasons)... > chomp(my @array = ); ...is much better. Wesley. (*) Given N and it, prove that there are more than N ways to do it... :-) From tony at kasei.com Mon Dec 17 13:45:58 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011217172213.GA15799@delltop.blackstar.co.uk> References: <65BB8AA6E3A6D211A6C500902733DD5EDAE1D0@BELFAST2> <20011217172213.GA15799@delltop.blackstar.co.uk> Message-ID: <20011217194558.A20041@soto.kasei.com> On Mon, Dec 17, 2001 at 05:22:13PM +0000, Wesley Darlington wrote: > On Mon, Dec 17, 2001 at 04:23:21PM -0000, Wilson, Andrew (Belfast) > > > From: Wesley Darlington [mailto:wesley@yelsew.com] > > > chomp, push @wordlist, $_ for ; > > Doesn't that chomp the return value of push, which is the numbedr of > > elements added to the array? > Does it? Nope. It's really not that hard to test these things before posting, you know! With a wave of the hands, I conjure a test script from an earlier post: # chomp(my @array = ); chomp, push @array, $_ for ; local $" = "><"; print "We have <@array>\n"; __DATA__ foo bar baz Now, for pennance, Andrew can explain why it *does* work ... Tony From Andrew.Wilson at trw.com Tue Dec 18 04:53:10 2001 From: Andrew.Wilson at trw.com (Wilson, Andrew (Belfast)) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 Message-ID: <65BB8AA6E3A6D211A6C500902733DD5EDAE1D2@BELFAST2> Hi > -----Original Message----- > From: Tony Bowden [mailto:tony@kasei.com] > Sent: 17 December 2001 19:46 > > On Mon, Dec 17, 2001 at 05:22:13PM +0000, Wesley Darlington wrote: > > On Mon, Dec 17, 2001 at 04:23:21PM -0000, Wilson, Andrew (Belfast) > > > > From: Wesley Darlington [mailto:wesley@yelsew.com] > > > > chomp, push @wordlist, $_ for ; > > > > Doesn't that chomp the return value of push, which is the > > > number of elements added to the array? > > Does it? > > Nope. > > It's really not that hard to test these things before > posting, you know! > > With a wave of the hands, I conjure a test script from an > earlier post: > > # chomp(my @array = ); > chomp, push @array, $_ for ; > > local $" = "><"; > print "We have <@array>\n"; > __DATA__ > foo > bar > baz > > Now, for pennance, Andrew can explain why it *does* work ... Just proves you shouldn't comment on these things when you don't have a sensible version of perl for testing them with. why does it work? because of the comma operator after the chomp. It evaluates the expression chomp, push @array, $_ for each value that it reads from . The chomp followed by the comma chomps $_ by default and the the push is done. A fuller version would be for () { chomp; push @array, $_ } which I _think_ is what perl is actually doing here. Am I right? cheers Andrew From russell-belfast-pm at futureless.org Tue Dec 18 07:57:17 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: [gnat@oreilly.com: Re: re: re: re: AW: re: Re: RE: Make a dream come true!!!] Message-ID: <20011218135717.C32061@futureless.org> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011218/6fb8cf2e/attachment.bin From russell-belfast-pm at futureless.org Tue Dec 18 07:58:30 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: [gnat@oreilly.com: The Perl Foundation] Message-ID: <20011218135830.D32061@futureless.org> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011218/aad4acae/attachment.bin From wesley at yelsew.com Wed Dec 19 03:10:42 2001 From: wesley at yelsew.com (Wesley Darlington) Date: Tue Aug 3 23:54:21 2004 Subject: Ban Programming! Message-ID: <20011219091042.GA7315@delltop.blackstar.co.uk> A funny, funny article... http://www.adequacy.org/?op=displaystory;sid=2001/10/10/18186/236 Wesley. From tony at kasei.com Sat Dec 22 09:48:29 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011216121324.A27075@futureless.org> References: <20011216121324.A27075@futureless.org> Message-ID: <20011222154829.A28975@soto.kasei.com> On Sun, Dec 16, 2001 at 12:13:24PM +0000, Russell Matbouli wrote: > I've written Text::Echelon after realising that my X-Echelon header > program was very inefficient http://use.perl.org/~gnat/journal/ Tony From russell at futureless.org Sat Dec 22 10:00:56 2001 From: russell at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: [RFC] Text::Echelon v0.01 In-Reply-To: <20011222154829.A28975@soto.kasei.com> References: <20011216121324.A27075@futureless.org> <20011222154829.A28975@soto.kasei.com> Message-ID: <20011222160056.A16087@futureless.org> On Sat, Dec 22, 2001 at 03:48:29PM +0000, Tony Bowden wrote: > http://use.perl.org/~gnat/journal/ *blush* Okay, I'm suitably embarrased now. Who'd have thought, eh? v0.02 is out with the constructor fix and updated documentation. It's on CPAN now. *blush* -- Russell Matbouli | There is eloquence in screaming russell@futureless.org | -- Patrick Jones PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011222/c9e680e2/attachment.bin From sleepy_uk at hotmail.com Thu Dec 27 08:29:30 2001 From: sleepy_uk at hotmail.com (Scott McWhirter) Date: Tue Aug 3 23:54:21 2004 Subject: Session Handling Message-ID: Hey all, I was wanting to have a play about with session handling, but not sure what's the best way to do it. I know i could always do it with cookies and the like but i've been hearing intresting stories about things like Apache::AuthTicket and the like. All discussion is very welcome. Ta! -- -Scott McWhirter- | -kungfuftr- PGP key id: 0x3C79CF1D _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From liyang at nerv.cx Thu Dec 27 17:48:29 2001 From: liyang at nerv.cx (Liyang Hu) Date: Tue Aug 3 23:54:21 2004 Subject: passing blessed thingies as parameters Message-ID: <20011227234829.GA1469@cam.ac.uk> How? I'm not even sure what to look up for this. Say I wanted to do something like this: use Mail::Audit; [0] sub foo($) { $ma = shift(); $ma->accept(...yada...); } $mail = new Mail::Audit; foo($mail); perl barfs on the $ma = shift() line. Obviously sub foo doesn't even know what it was passed, so I don't think $ma->accept()'s going to work either. Enlightenment, anyone? /Liyang [0] The mailing list manager barfed upon seeing this line the last time I sent this. -- .--| Liyang Hu |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | HELLO KITTY gang terrorizes town, family STICKERED to death! | From mwk at stray-toaster.co.uk Fri Dec 28 02:08:36 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:21 2004 Subject: passing blessed thingies as parameters In-Reply-To: <20011227234829.GA1469@cam.ac.uk>; from Liyang Hu on Thu, Dec 27, 2001 at 11:48:29PM +0000 References: <20011227234829.GA1469@cam.ac.uk> Message-ID: <20011228080836.A10454@tux.blackstar.co.uk> On Thu, Dec 27, 2001 at 11:48:29PM +0000, Liyang Hu wrote: > How? I'm not even sure what to look up for this. Say I wanted to do > something like this: > > use Mail::Audit; > [0] sub foo($) > { > $ma = shift(); > $ma->accept(...yada...); > } > $mail = new Mail::Audit; > foo($mail); > > perl barfs on the $ma = shift() line. Obviously sub foo doesn't even > know what it was passed, so I don't think $ma->accept()'s going to > work either. > > Enlightenment, anyone? > > /Liyang > [0] The mailing list manager barfed upon seeing this line the last > time I sent this. err, not sure what the problem you are having here is, but I am mostly thinking it is just the leaving off of an ampersand?? I hate coming up with answers like this, as I am always wrong, and it is a protyping-deep-in-perl-of-which-I-know-nothing answer actually. But here, this works for me.... use CGI; my $q = CGI->new; &foo($q); sub foo($) { my $thing = shift; print "\n\n $thing \n\n"; } a tired, put upon up to early, awful Christmas experience m. -- So they went off together. But wherever they go, and whatever happens to them on the way, in that enchanted place on the top of the Forest a little boy and his Bear will always be playing. From Andrew.Wilson at trw.com Fri Dec 28 04:04:37 2001 From: Andrew.Wilson at trw.com (Wilson, Andrew (Belfast)) Date: Tue Aug 3 23:54:21 2004 Subject: passing blessed thingies as parameters Message-ID: <65BB8AA6E3A6D211A6C500902733DD5EDAE1DE@BELFAST2> Hi Liyang > -----Original Message----- > From: Liyang Hu [mailto:liyang@nerv.cx] > Sent: 27 December 2001 23:48 > To: Belfast Perl Mongers > Subject: passing blessed thingies as parameters > > > How? I'm not even sure what to look up for this. Say I wanted to do > something like this: > > use Mail::Audit; > [0] sub foo($) > { > $ma = shift(); > $ma->accept(...yada...); > } > $mail = new Mail::Audit; > foo($mail); > > perl barfs on the $ma = shift() line. Obviously sub foo doesn't even > know what it was passed, so I don't think $ma->accept()'s going to > work either. Can you define barfs for us? what error message does it give you? That looks to me (at first glance) like it should work and I'm not sure what problem you're seeing. cheers Andrew From mwk at stray-toaster.co.uk Fri Dec 28 04:55:03 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log Message-ID: <20011228105503.B10544@tux.blackstar.co.uk> This can be found at: http://www.stray-toaster.co.uk/log.tar.gz and in my CPAN directory shortly. OK, so it ain't monkey brains, but it does what it is supposed to. Yes, and I know the code is pretty sucky. That is what you get for coding in a rush one Sunday afternoon, then being too lazy to actually rewrite it and tidy it up. It is only for fun, dontcha know. And I am in a defensive mood, so no critisim of it, Yet. Give me a few days, then get tore in. c'est la vie. And my vie at that. m. Oh, go on, I know you want to tear it to bits.... -- So they went off together. But wherever they go, and whatever happens to them on the way, in that enchanted place on the top of the Forest a little boy and his Bear will always be playing. From tony at kasei.com Fri Dec 28 05:07:14 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:21 2004 Subject: passing blessed thingies as parameters In-Reply-To: <20011227234829.GA1469@cam.ac.uk> References: <20011227234829.GA1469@cam.ac.uk> Message-ID: <20011228110714.A22322@soto.kasei.com> On Thu, Dec 27, 2001 at 11:48:29PM +0000, Liyang Hu wrote: > How? I'm not even sure what to look up for this. Say I wanted to do > use Mail::Audit; > sub foo($) > { > $ma = shift(); > $ma->accept(...yada...); > } > $mail = new Mail::Audit; > foo($mail); > > perl barfs on the $ma = shift() line. Obviously sub foo doesn't even > know what it was passed, so I don't think $ma->accept()'s going to > work either. This works for me ... what problem are you seeing? Is it barfing at compilation, or run time? What error are you getting? Tony From andrew at soto.kasei.com Fri Dec 28 05:30:30 2001 From: andrew at soto.kasei.com (Andrew Wilson) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228105503.B10544@tux.blackstar.co.uk> References: <20011228105503.B10544@tux.blackstar.co.uk> Message-ID: <20011228113030.A22376@soto.kasei.com> Hi Marc On Fri, Dec 28, 2001 at 10:55:03AM +0000, Stray Toaster wrote: > OK, so it ain't monkey brains, but it does what it is supposed to. Yes, > and I know the code is pretty sucky. That is what you get for coding in > a rush one Sunday afternoon, then being too lazy to actually rewrite it > and tidy it up. It is only for fun, dontcha know. > > And I am in a defensive mood, so no critisim of it, Yet. Give me a few > days, then get tore in. > > c'est la vie. And my vie at that. > > m. > > Oh, go on, I know you want to tear it to bits.... Well if you insist. I see several things that could be improved 1) It has no tests 2) It has no tests [0] 3) You see that init method. That's too big that is. 4) It doesn't seem very OO to me, all those if ($action eq foo) { $bar = $wibble } sections should probably be methods called foo 5) how would I go about subclassing this to override a small piece of functionality? I wouldn't easily, that's a hint that your methods are doing to much (a common BlackStar failing if I remember correctly, wea always tried to do far too much in one method). 6) If you make the all simpler method calls (see point 40 it will be easier to write tests for them. [1] 7) Data structures. You're quite mad. You're also not going to start listening to my data structure rants at this point, are you? :-) Nice module by the way. cheers Andrew [0] Technically the same point, yes, but such a good point it's worth mentioning twice ;-) [1] Ok, it's actually worth mentioning three times. [2] [2] do the footnotes count, ah ... that's five times I've mentioned it has no tests.[3] [3] Or is that six ... AAaarrrrrggggghhhhhhhhh!!!!!! From mwk at stray-toaster.co.uk Fri Dec 28 05:38:29 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228113030.A22376@soto.kasei.com>; from Andrew Wilson on Fri, Dec 28, 2001 at 11:30:30AM +0000 References: <20011228105503.B10544@tux.blackstar.co.uk> <20011228113030.A22376@soto.kasei.com> Message-ID: <20011228113829.B10987@tux.blackstar.co.uk> On Fri, Dec 28, 2001 at 11:30:30AM +0000, Andrew Wilson wrote: > Hi Marc Good morning Andrew. > > I see several things that could be improved > > 1) It has no tests > 2) It has no tests [0] Ah yes, I know. That is as I didn't get round to constructing a log file/s that had every eventuality covered. > 3) You see that init method. That's too big that is. Oh, I know that too. But as it is parsing a log file, I overcame all those fears I have about making methods longer than 10 lines. And boy, did I overcome it. > 4) It doesn't seem very OO to me, all those > > if ($action eq foo) { > $bar = $wibble > } > > sections should probably be methods called foo Well, the OO bit is just that you make it with a log file, then can ask it for information. That is all. > 5) how would I go about subclassing this to override a small piece of > functionality? I wouldn't easily, that's a hint that your methods > are doing to much (a common BlackStar failing if I remember > correctly, wea always tried to do far too much in one method). Well, as it is PARSING A LOG FILE, it would be difficult to override, as the object stores all the information gleaned while PARSING THE LOG. > 6) If you make the all simpler method calls (see point 40 it will be > easier to write tests for them. [1] No, on second thoughts, I don't even want to write tests. And I normally do. This is my first module san tests. > 7) Data structures. You're quite mad. You're also not going to > start listening to my data structure rants at this point, are you? > :-) Oh, those structures are lovely. I have a script which takes the structures and pulls them apart and stores them in a series of tables, which have Class::DBI modules with them. And *they* have tests. > > Nice module by the way. not sure which way to take that, since you are Mr. Sarcasm. bah. I am off to my huffing again....(not with you, incidently...) m. -- So they went off together. But wherever they go, and whatever happens to them on the way, in that enchanted place on the top of the Forest a little boy and his Bear will always be playing. From tony at kasei.com Fri Dec 28 05:46:04 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228113829.B10987@tux.blackstar.co.uk> References: <20011228105503.B10544@tux.blackstar.co.uk> <20011228113030.A22376@soto.kasei.com> <20011228113829.B10987@tux.blackstar.co.uk> Message-ID: <20011228114604.A23017@soto.kasei.com> On Fri, Dec 28, 2001 at 11:38:29AM +0000, Stray Toaster wrote: > > 1) It has no tests > > 2) It has no tests [0] > Ah yes, I know. That is as I didn't get round to constructing a log > file/s that had every eventuality covered. Aha. A common misconception. "I can't write tests as I can't test every eventuality". Sorry. That's just intellectually corrupt. Much better is: "I can test some of the most common things, to make sure they work." Then later. "Ooh. My tests caught a nasty bug. I'm glad I had those. Perhaps I should add a few more for those dusty corners". Tony From mwk at stray-toaster.co.uk Fri Dec 28 05:51:12 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228114604.A23017@soto.kasei.com>; from Tony Bowden on Fri, Dec 28, 2001 at 11:46:04AM +0000 References: <20011228105503.B10544@tux.blackstar.co.uk> <20011228113030.A22376@soto.kasei.com> <20011228113829.B10987@tux.blackstar.co.uk> <20011228114604.A23017@soto.kasei.com> Message-ID: <20011228115112.F10987@tux.blackstar.co.uk> On Fri, Dec 28, 2001 at 11:46:04AM +0000, Tony Bowden wrote: > > Ah yes, I know. That is as I didn't get round to constructing a log > > file/s that had every eventuality covered. > > Aha. A common misconception. > > "I can't write tests as I can't test every eventuality". > > Sorry. That's just intellectually corrupt. Well, actually, I am justifying myself here. I know I could have written tests. The log file outputs in a certain way, but not every file contains every case, and err, I tested it in the field. And found problems. Which have all been fixed in this release. (Like having someone whose name is PlayerRename. tcah. People. It would all work well if there were no people involved. Or maybe just me involved.) If I was writing this for something other than fun, I would have written the docs first (my preference, I like to sort my mind out by writing the docs first) then the tests. But I wasn't. It was hackery-pokery as implemented by me. I am off to the monastry to make my confessions now.... m. From andrew at soto.kasei.com Fri Dec 28 06:01:50 2001 From: andrew at soto.kasei.com (Andrew Wilson) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228113829.B10987@tux.blackstar.co.uk> References: <20011228105503.B10544@tux.blackstar.co.uk> <20011228113030.A22376@soto.kasei.com> <20011228113829.B10987@tux.blackstar.co.uk> Message-ID: <20011228120150.A22947@soto.kasei.com> On Fri, Dec 28, 2001 at 11:38:29AM +0000, Stray Toaster wrote: > Good morning Andrew. Thanks, merry christmas by the way. > Ah yes, I know. That is as I didn't get round to constructing a log > file/s that had every eventuality covered. Constructing said Log file is neither necessary nor desirable. See below. Points 3 and 4 are really the same point. You are parsing a log file but you've given your module a OO interface externally. Internally it's procedural. If you broke the functionality out into methods (private methods probably) then call them from the init it makes the code easier to follow and easier to test. You don't need to construct a massive log file covering every eventuality, you test each little method on its own. > > 5) how would I go about subclassing this to override a small piece of > > functionality? I wouldn't easily, that's a hint that your methods > > are doing to much (a common BlackStar failing if I remember > > correctly, we always tried to do far too much in one method). > > Well, as it is PARSING A LOG FILE, it would be difficult to override, as > the object stores all the information gleaned while PARSING THE LOG. And if the format of your log file changes and you need to be able to parse the old and new versions of the file, what do you do then? If it's properly written you sub class the log file parser and override the bits that have changed. Lovely Jubbly. > Oh, those structures are lovely. I have a script which takes the > structures and pulls them apart and stores them in a series of tables, > which have Class::DBI modules with them. And *they* have tests. lovely data structures are in the eye of the beholder. > > Nice module by the way. > > not sure which way to take that, since you are Mr. Sarcasm. Take it as it was, I like it warts an all. Of course I'd like it better if you made it properly OO and made the functions/methods whatever smaller ;-) > bah. I am off to my huffing again....(not with you, incidently...) Oh well, suit yourself. Do you want to get together for lunch next week sometime? cheers Andrew From mwk at stray-toaster.co.uk Fri Dec 28 06:08:48 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228120150.A22947@soto.kasei.com>; from Andrew Wilson on Fri, Dec 28, 2001 at 12:01:50PM +0000 References: <20011228105503.B10544@tux.blackstar.co.uk> <20011228113030.A22376@soto.kasei.com> <20011228113829.B10987@tux.blackstar.co.uk> <20011228120150.A22947@soto.kasei.com> Message-ID: <20011228120848.G10987@tux.blackstar.co.uk> On Fri, Dec 28, 2001 at 12:01:50PM +0000, Andrew Wilson wrote: actually, this started out as a script, which eventually became the init. Can't you tell? :-) > > And if the format of your log file changes and you need to be able to > parse the old and new versions of the file, what do you do then? If > it's properly written you sub class the log file parser and override the > bits that have changed. Lovely Jubbly. Ah, but it is gibstats standard log file output, which hasn't changed since QuakeWorld all those years ago. Just new keywords. Which, I suppose, would be hard to change in the module, as you would have to go and edit the init. *damn* I hate talking myself round to your way of thinking. > > Do you want to get together for lunch next week sometime? sounds like a plan to me. m. -- So they went off together. But wherever they go, and whatever happens to them on the way, in that enchanted place on the top of the Forest a little boy and his Bear will always be playing. From karen at kasei.com Fri Dec 28 11:38:20 2001 From: karen at kasei.com (Karen Pauley) Date: Tue Aug 3 23:54:21 2004 Subject: Damian Conway in Belfast Message-ID: <20011228173820.H23280@soto.kasei.com> Hello, Various people have been asking me for more information on Damian's trip. Details of the training courses are now available at www.kasei.com. If anyone would like any more information please let me know. -- Karen From karen at kasei.com Fri Dec 28 11:49:45 2001 From: karen at kasei.com (Karen Pauley) Date: Tue Aug 3 23:54:21 2004 Subject: January's Meeting Message-ID: <20011228174945.I23280@soto.kasei.com> I won't be able to attend January's meeting as I will be away on a training course :) Are we planning on having the meeting in UTVi again or should I look for another venue? UNITE would let us use their meeting room again but this would only work if someone from UNITE was planning on attending the meeting. Are Steve and Marc going to give the talks that they had planned for November? -- Karen From marty at kasei.com Fri Dec 28 12:20:31 2001 From: marty at kasei.com (Marty Pauley) Date: Tue Aug 3 23:54:21 2004 Subject: Damian Conway in Belfast In-Reply-To: <20011228173820.H23280@soto.kasei.com> References: <20011228173820.H23280@soto.kasei.com> Message-ID: <20011228182031.B25604@soto.kasei.com> On Fri Dec 28 17:38:20 2001, Karen Pauley wrote: > Various people have been asking me for more information on Damian's > trip. Details of the training courses are now available at > www.kasei.com. > > If anyone would like any more information please let me know. The bit of information you won't find at www.kasei.com is this: current members of Belfast Perl Mongers only pay ?195 per course. If you are a full-time student (and can prove it) you can take an additional 50% off this price (so that would be ?97.50). Unfortunately, you have to add VAT onto those prices. We have a list of existing Belfast.pm members, so if you join now you won't get the discount. But if you receive this directly from the list, you're a member already. -- Marty -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 220 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011228/50b8afab/attachment.bin From steve at narnian.org Fri Dec 28 12:33:22 2001 From: steve at narnian.org (Steve Foy) Date: Tue Aug 3 23:54:21 2004 Subject: January's Meeting In-Reply-To: <20011228174945.I23280@soto.kasei.com>; from karen@kasei.com on Fri, Dec 28, 2001 at 05:49:45PM +0000 References: <20011228174945.I23280@soto.kasei.com> Message-ID: <20011228183322.A24435@caspian.inhouseinternet.net> thinking it was tuck's boxer shorts again, Karen Pauley proclaimed: > I won't be able to attend January's meeting as I will be away on a > training course :) Awh Karen, you're the life of the 'party' :) > Are we planning on having the meeting in UTVi again or should I look for > another venue? UNITE would let us use their meeting room again but this > would only work if someone from UNITE was planning on attending the > meeting. I'll go. -- Steve Foy steve@narnian.org From schwern at pobox.com Fri Dec 28 14:11:41 2001 From: schwern at pobox.com (Michael G Schwern) Date: Tue Aug 3 23:54:21 2004 Subject: passing blessed thingies as parameters In-Reply-To: <20011228080836.A10454@tux.blackstar.co.uk> References: <20011227234829.GA1469@cam.ac.uk> <20011228080836.A10454@tux.blackstar.co.uk> Message-ID: <20011228201141.GA6259@blackrider> On Fri, Dec 28, 2001 at 08:08:36AM +0000, Stray Toaster wrote: > err, not sure what the problem you are having here is, but I am mostly > thinking it is just the leaving off of an ampersand?? Ancient Chinese Secret, putting ampersands on function calls disables prototypes. -- Michael G. Schwern http://www.pobox.com/~schwern/ Perl Quality Assurance Kwalitee Is Job One The desired effect is what you get when you improve your interplanetary funksmanship. From tony at kasei.com Fri Dec 28 15:56:17 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:21 2004 Subject: January's Meeting In-Reply-To: <20011228174945.I23280@soto.kasei.com> References: <20011228174945.I23280@soto.kasei.com> Message-ID: <20011228215617.A26651@soto.kasei.com> On Fri, Dec 28, 2001 at 05:49:45PM +0000, Karen Pauley wrote: > I won't be able to attend January's meeting as I will be away on a > training course :) I think you left the quotes off "training course" there... Tony From russell-belfast-pm at futureless.org Sat Dec 29 13:32:05 2001 From: russell-belfast-pm at futureless.org (Russell Matbouli) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011228105503.B10544@tux.blackstar.co.uk> References: <20011228105503.B10544@tux.blackstar.co.uk> Message-ID: <20011229193205.A822@futureless.org> Hi Marc, Instead of putting everything in a tarball yourself, use 'make dist' as it puts it in the way CPAN prefers (ie, Games-Quake-Log-1.01.tar.gz instead of log.tar.gz). CPAN thinks you have a distribution called "log" now because of the filename. If I ever play Quake and want my logs analysed, I'll make sure this Quake Log analyser :) -- Russell Matbouli | PGP encrypted mail preferred. Key Fingerprint: russell@futureless.org | 475A 04E8 FE1B 851B A391 5237 74C9 0D1B 3CA8 4CF4 PGP KeyID: 0x3CA84CF4 | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://mail.pm.org/archives/belfast-pm/attachments/20011229/dc462f6f/attachment.bin From mwk at stray-toaster.co.uk Sat Dec 29 14:43:49 2001 From: mwk at stray-toaster.co.uk (Stray Toaster) Date: Tue Aug 3 23:54:21 2004 Subject: {ANNOUNCE} Games::Quake::Log In-Reply-To: <20011229193205.A822@futureless.org>; from Russell Matbouli on Sat, Dec 29, 2001 at 07:32:05PM +0000 References: <20011228105503.B10544@tux.blackstar.co.uk> <20011229193205.A822@futureless.org> Message-ID: <20011229204349.A20611@tux.blackstar.co.uk> On Sat, Dec 29, 2001 at 07:32:05PM +0000, Russell Matbouli wrote: > Hi Marc, > Instead of putting everything in a tarball yourself, use 'make dist' as > it puts it in the way CPAN prefers (ie, Games-Quake-Log-1.01.tar.gz > instead of log.tar.gz). CPAN thinks you have a distribution called "log" > now because of the filename. yes, I know. And I meant too. I just got forgot. I remembered about it an hour before I started to mess about, but I am a sievehead. What can I say. > > If I ever play Quake and want my logs analysed, I'll make sure this > Quake Log analyser :) you *need* to be playing. Game of Kings. And some Queens, I believe. m. -- So they went off together. But wherever they go, and whatever happens to them on the way, in that enchanted place on the top of the Forest a little boy and his Bear will always be playing. From tony at kasei.com Sun Dec 9 08:37:15 2001 From: tony at kasei.com (Tony Bowden) Date: Tue Aug 3 23:54:41 2004 Subject: Ginger Tree here we come... In-Reply-To: <20011209043816.A26863@srcf.ucam.org> References: <20011204131516.B31588@soto.kasei.com> <20011204154036.C12427@srcf.ucam.org> <20011209043816.A26863@srcf.ucam.org> Message-ID: <20011209143715.A15158@soto.kasei.com> On Sun, Dec 09, 2001 at 04:38:16AM +0000, Liyang Hu wrote: > Right, this is my last attempt to beg for help: is there /anyone/ > in south-ish Belfast willing to give me a lift on Monday evening? > Please? I'm sure we'll be able to come up with something .... You're up around Four Winds somewhere, aren't you? Tony