From olaf.alders at gmail.com Fri May 3 13:56:23 2013 From: olaf.alders at gmail.com (Olaf Alders) Date: Fri, 3 May 2013 16:56:23 -0400 Subject: [tpm] we're hiring Message-ID: Hi Everyone, If anyone is interested, we're hiring a Perl QA person at MaxMind. http://jobs.perl.org/job/17331 You can get in touch with me if you have any questions. Olaf -- Olaf Alders olaf.alders at gmail.com http://www.wundercounter.com http://twitter.com/wundercounter 866 503 2204 (Toll free - North America) 416 944 8306 (direct) From arocker at Vex.Net Mon May 6 06:44:59 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 6 May 2013 09:44:59 -0400 Subject: [tpm] SQL? Message-ID: Does anybody in the group know enough about SQL to talk about it? From stuart at morungos.com Thu May 9 07:25:34 2013 From: stuart at morungos.com (Stuart Watt) Date: Thu, 9 May 2013 10:25:34 -0400 Subject: [tpm] Future meeting suggestions Message-ID: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> Hi all Following up on Alan's idea, can I suggest something like a shared spreadsheet for talk suggestions? It's so much easier to converge on a schedule when we have a common view. I've started the ball rolling, but I'm happy to add more. If everyone adds an item or two we'll have an agenda in no time. I can do Grails for this month if really necessary, but I have a deadline or two, so it'll be better in a future month. URL: https://docs.google.com/spreadsheet/ccc?key=0Ar5vAAGHtrjadFBkbWphMmJzS1BfQUNXVmFzV0RZblE&usp=sharing Do feel free to shoot me if you think this is a totally stupid idea All the best Stuart -- Stuart Watt stuart at morungos.com / twitter.com/morungos -------------- next part -------------- An HTML attachment was scrubbed... URL: From fulko.hew at gmail.com Fri May 10 07:06:42 2013 From: fulko.hew at gmail.com (Fulko Hew) Date: Fri, 10 May 2013 10:06:42 -0400 Subject: [tpm] problems with what regex returns ... in context ? Message-ID: I'm having yet another mental block w.r.t. capturing regexes... Given a string to match, and a list of regexes I need to process the captured data (if any), if the pattern matches. So generically I do: if (@capture = ($line =~ m/$regex/)) { foreach @capture { ... } } else { no match } When the regex has some capturing defined, all is fine. The foreach does its thing. But when the regex DOESN'T have any captures it @capture still contains a single value ... '1' (The success/truth indication.) How can I tell the difference between: - a successful match with no captured data - a successful match with captured data - an unsuccessful match TIA Fulko my $line = 'this is stuff in here'; my @patterns = qw / stuff (stuff) /; foreach $regex (@patterns) { my @capture = (); print "regex is '$regex' ... "; if (@capture = ($line =~ m/$regex/)) { print "captured " . scalar @capture . " items \n"; my $i = 0; foreach my $item (@capture) { print " capture[$i]: '$item'\n"; $i++; } } else { print "nothing captured\n"; } } -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Fri May 10 07:16:01 2013 From: mike at stok.ca (Mike Stok) Date: Fri, 10 May 2013 10:16:01 -0400 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: References: Message-ID: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> My perl is getting a little rusty, but the first thing I thought of was to check the defined-ness of $1 e.g. my $line = 'this is stuff in here'; my @patterns = qw / stuff (stuff) stuff/; foreach $regex (@patterns) { my @capture = (); print "regex is '$regex' ... "; if ((@capture = ($line =~ m/$regex/)) && defined $1) { print "captured " . scalar @capture . " items \n"; my $i = 0; foreach my $item (@capture) { print " capture[$i]: '$item'\n"; $i++; } } else { print "nothing captured\n"; } } I'm sure there's some problem with that though... Mike On 2013-05-10, at 10:06 AM, Fulko Hew wrote: > my $line = 'this is stuff in here'; > my @patterns = qw / stuff (stuff) /; > foreach $regex (@patterns) { > my @capture = (); > print "regex is '$regex' ... "; > if (@capture = ($line =~ m/$regex/)) { > print "captured " . scalar @capture . " items \n"; > my $i = 0; > foreach my $item (@capture) { > print " capture[$i]: '$item'\n"; > $i++; > } > } else { > print "nothing captured\n"; > } > } -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fulko.hew at gmail.com Fri May 10 07:23:17 2013 From: fulko.hew at gmail.com (Fulko Hew) Date: Fri, 10 May 2013 10:23:17 -0400 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> Message-ID: Responding to my own post... I just discovered that I can test the defined-ness of $+ (the 'last' extraction) because I wasn't sure if $1 $2... would be _also_ defined, if I specified a list to return into. hmm, yes, $n are populated regardless of the left hand side Thanks On Fri, May 10, 2013 at 10:16 AM, Mike Stok wrote: > My perl is getting a little rusty, but the first thing I thought of was to > check the defined-ness of $1 e.g. > > my $line = 'this is stuff in here'; > my @patterns = qw / stuff (stuff) stuff/; > foreach $regex (@patterns) { > my @capture = (); > print "regex is '$regex' ... "; > if ((@capture = ($line =~ m/$regex/)) && defined $1) { > print "captured " . scalar @capture . " items \n"; > my $i = 0; > foreach my $item (@capture) { > print " capture[$i]: '$item'\n"; > $i++; > } > } else { > print "nothing captured\n"; > } > } > > I'm sure there's some problem with that though... > > Mike > > On 2013-05-10, at 10:06 AM, Fulko Hew wrote: > > my $line = 'this is stuff in here'; > my @patterns = qw / stuff (stuff) /; > foreach $regex (@patterns) { > my @capture = (); > print "regex is '$regex' ... "; > if (@capture = ($line =~ m/$regex/)) { > print "captured " . scalar @capture . " items \n"; > my $i = 0; > foreach my $item (@capture) { > print " capture[$i]: '$item'\n"; > $i++; > } > } else { > print "nothing captured\n"; > } > } > > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fifteen3 at gmail.com Fri May 10 08:23:54 2013 From: fifteen3 at gmail.com (Carlo Costantini) Date: Fri, 10 May 2013 11:23:54 -0400 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> Message-ID: <60470EEC17424B79945F022BC69044EF@gmail.com> Because I was following along and thought others might be following as well. I thought I would summarize what you discovered to help you with this situation. After looking up $+. I saw that there is also $& which has the string of the last pattern match. So to summarize: - a successful match with no captured data will have a $& value defined but will not have a $+ value defined. - a successful match with captured data will have both $& and $+ defined but you only need to check $+ - an unsuccessful match $& will not be defined Thank you for "thinking aloud", Fulko. -- Carlo On Friday, 10 May, 2013 at 10:23 AM, Fulko Hew wrote: > Responding to my own post... > > I just discovered that I can test the defined-ness > of $+ (the 'last' extraction) because I wasn't sure > if $1 $2... would be _also_ defined, if I specified a list to return into. > > hmm, yes, $n are populated regardless of the left hand side > > Thanks > > > On Fri, May 10, 2013 at 10:16 AM, Mike Stok wrote: > > My perl is getting a little rusty, but the first thing I thought of was to check the defined-ness of $1 e.g. > > > > my $line = 'this is stuff in here'; > > my @patterns = qw / stuff (stuff) stuff/; > > foreach $regex (@patterns) { > > my @capture = (); > > print "regex is '$regex' ... "; > > > > if ((@capture = ($line =~ m/$regex/)) && defined $1) { > > print "captured " . scalar @capture . " items \n"; > > my $i = 0; > > foreach my $item (@capture) { > > print " capture[$i]: '$item'\n"; > > $i++; > > } > > } else { > > print "nothing captured\n"; > > } > > } > > > > > > > > I'm sure there's some problem with that though... > > > > Mike > > > > On 2013-05-10, at 10:06 AM, Fulko Hew wrote: > > > my $line = 'this is stuff in here'; > > > my @patterns = qw / stuff (stuff) /; > > > foreach $regex (@patterns) { > > > my @capture = (); > > > print "regex is '$regex' ... "; > > > if (@capture = ($line =~ m/$regex/)) { > > > print "captured " . scalar @capture . " items \n"; > > > my $i = 0; > > > foreach my $item (@capture) { > > > print " capture[$i]: '$item'\n"; > > > $i++; > > > } > > > } else { > > > print "nothing captured\n"; > > > } > > > } > > > > -- > > > > Mike Stok > > http://www.stok.ca/~mike/ > > > > The "`Stok' disclaimers" apply. > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org (mailto:toronto-pm at pm.org) > http://mail.pm.org/mailman/listinfo/toronto-pm From quantum.mechanic.1964 at gmail.com Fri May 10 10:33:18 2013 From: quantum.mechanic.1964 at gmail.com (Quantum Mechanic) Date: Fri, 10 May 2013 18:33:18 +0100 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: <60470EEC17424B79945F022BC69044EF@gmail.com> References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> Message-ID: I would have tried "my" instead of the punctuation variables: if (my @capture = /$regex/) { foreach @capture { do something; } } Cheers, QM On May 10, 2013, at 4:23 PM, Carlo Costantini wrote: > Because I was following along and thought others might be following as well. I thought I would summarize > what you discovered to help you with this situation. > > After looking up $+. I saw that there is also $& which has the string of the last pattern match. > > So to summarize: > > - a successful match with no captured data > > will have a $& value defined but will not have a $+ value defined. > > - a successful match with captured data > > will have both $& and $+ defined but you only need to check $+ > > - an unsuccessful match > > $& will not be defined > > > Thank you for "thinking aloud", Fulko. > > -- > Carlo > > > On Friday, 10 May, 2013 at 10:23 AM, Fulko Hew wrote: > >> Responding to my own post... >> >> I just discovered that I can test the defined-ness >> of $+ (the 'last' extraction) because I wasn't sure >> if $1 $2... would be _also_ defined, if I specified a list to return into. >> >> hmm, yes, $n are populated regardless of the left hand side >> >> Thanks >> >> >> On Fri, May 10, 2013 at 10:16 AM, Mike Stok wrote: >>> My perl is getting a little rusty, but the first thing I thought of was to check the defined-ness of $1 e.g. >>> >>> my $line = 'this is stuff in here'; >>> my @patterns = qw / stuff (stuff) stuff/; >>> foreach $regex (@patterns) { >>> my @capture = (); >>> print "regex is '$regex' ... "; >>> >>> if ((@capture = ($line =~ m/$regex/)) && defined $1) { >>> print "captured " . scalar @capture . " items \n"; >>> my $i = 0; >>> foreach my $item (@capture) { >>> print " capture[$i]: '$item'\n"; >>> $i++; >>> } >>> } else { >>> print "nothing captured\n"; >>> } >>> } >>> >>> >>> >>> I'm sure there's some problem with that though... >>> >>> Mike >>> >>> On 2013-05-10, at 10:06 AM, Fulko Hew wrote: >>>> my $line = 'this is stuff in here'; >>>> my @patterns = qw / stuff (stuff) /; >>>> foreach $regex (@patterns) { >>>> my @capture = (); >>>> print "regex is '$regex' ... "; >>>> if (@capture = ($line =~ m/$regex/)) { >>>> print "captured " . scalar @capture . " items \n"; >>>> my $i = 0; >>>> foreach my $item (@capture) { >>>> print " capture[$i]: '$item'\n"; >>>> $i++; >>>> } >>>> } else { >>>> print "nothing captured\n"; >>>> } >>>> } >>> >>> -- >>> >>> Mike Stok >>> http://www.stok.ca/~mike/ >>> >>> The "`Stok' disclaimers" apply. >> >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org (mailto:toronto-pm at pm.org) >> http://mail.pm.org/mailman/listinfo/toronto-pm > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From fulko.hew at gmail.com Fri May 10 10:41:16 2013 From: fulko.hew at gmail.com (Fulko Hew) Date: Fri, 10 May 2013 13:41:16 -0400 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> Message-ID: On Fri, May 10, 2013 at 1:33 PM, Quantum Mechanic < quantum.mechanic.1964 at gmail.com> wrote: > I would have tried "my" instead of the punctuation variables: > > if (my @capture = /$regex/) { > foreach @capture { > do something; > } > } > That doesn't make any difference, @capture still (seems to get) the 1/true result code when there is no capturing. > Cheers, > QM > > On May 10, 2013, at 4:23 PM, Carlo Costantini wrote: > > > Because I was following along and thought others might be following as > well. I thought I would summarize > > what you discovered to help you with this situation. > > > > After looking up $+. I saw that there is also $& which has the string of > the last pattern match. > > > > So to summarize: > > > > - a successful match with no captured data > > > > will have a $& value defined but will not have a $+ value defined. > > > > - a successful match with captured data > > > > will have both $& and $+ defined but you only need to check $+ > > > > - an unsuccessful match > > > > $& will not be defined > > > > > > Thank you for "thinking aloud", Fulko. > > > > -- > > Carlo > > > > > > On Friday, 10 May, 2013 at 10:23 AM, Fulko Hew wrote: > > > >> Responding to my own post... > >> > >> I just discovered that I can test the defined-ness > >> of $+ (the 'last' extraction) because I wasn't sure > >> if $1 $2... would be _also_ defined, if I specified a list to return > into. > >> > >> hmm, yes, $n are populated regardless of the left hand side > >> > >> Thanks > >> > >> > >> On Fri, May 10, 2013 at 10:16 AM, Mike Stok mike at stok.ca)> wrote: > >>> My perl is getting a little rusty, but the first thing I thought of > was to check the defined-ness of $1 e.g. > >>> > >>> my $line = 'this is stuff in here'; > >>> my @patterns = qw / stuff (stuff) stuff/; > >>> foreach $regex (@patterns) { > >>> my @capture = (); > >>> print "regex is '$regex' ... "; > >>> > >>> if ((@capture = ($line =~ m/$regex/)) && defined $1) { > >>> print "captured " . scalar @capture . " items \n"; > >>> my $i = 0; > >>> foreach my $item (@capture) { > >>> print " capture[$i]: '$item'\n"; > >>> $i++; > >>> } > >>> } else { > >>> print "nothing captured\n"; > >>> } > >>> } > >>> > >>> > >>> > >>> I'm sure there's some problem with that though... > >>> > >>> Mike > >>> > >>> On 2013-05-10, at 10:06 AM, Fulko Hew fulko.hew at gmail.com)> wrote: > >>>> my $line = 'this is stuff in here'; > >>>> my @patterns = qw / stuff (stuff) /; > >>>> foreach $regex (@patterns) { > >>>> my @capture = (); > >>>> print "regex is '$regex' ... "; > >>>> if (@capture = ($line =~ m/$regex/)) { > >>>> print "captured " . scalar @capture . " items \n"; > >>>> my $i = 0; > >>>> foreach my $item (@capture) { > >>>> print " capture[$i]: '$item'\n"; > >>>> $i++; > >>>> } > >>>> } else { > >>>> print "nothing captured\n"; > >>>> } > >>>> } > >>> > >>> -- > >>> > >>> Mike Stok > >>> http://www.stok.ca/~mike/ > >>> > >>> The "`Stok' disclaimers" apply. > >> > >> _______________________________________________ > >> toronto-pm mailing list > >> toronto-pm at pm.org (mailto:toronto-pm at pm.org) > >> http://mail.pm.org/mailman/listinfo/toronto-pm > > > > > > > > _______________________________________________ > > toronto-pm mailing list > > toronto-pm at pm.org > > http://mail.pm.org/mailman/listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quantum.mechanic.1964 at gmail.com Fri May 10 13:47:13 2013 From: quantum.mechanic.1964 at gmail.com (Quantum Mechanic) Date: Fri, 10 May 2013 21:47:13 +0100 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> Message-ID: <508E1AD9-7D4C-4524-AEAD-48B1C9798FD9@gmail.com> > On Fri, May 10, 2013 at 1:33 PM, Quantum Mechanic wrote: > I would have tried "my" instead of the punctuation variables: > > if (my @capture = /$regex/) { > foreach @capture { > do something; > } > } > > That doesn't make any difference, @capture still (seems to get) the 1/true result code > when there is no capturing. > It should create a new @capture each time. It doesn't always capture something, right? I'll have to try it when I get home. -------------- next part -------------- An HTML attachment was scrubbed... URL: From janes.rob at gmail.com Fri May 10 14:01:17 2013 From: janes.rob at gmail.com (Rob Janes) Date: Fri, 10 May 2013 17:01:17 -0400 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: <508E1AD9-7D4C-4524-AEAD-48B1C9798FD9@gmail.com> References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> <508E1AD9-7D4C-4524-AEAD-48B1C9798FD9@gmail.com> Message-ID: if (my @cap = /$regex/) { @cap = ($&) unless defined $1; foreach @cap { do something; } } On May 10, 2013 4:47 PM, "Quantum Mechanic" wrote: > > On Fri, May 10, 2013 at 1:33 PM, Quantum Mechanic < > quantum.mechanic.1964 at gmail.com> wrote: > >> I would have tried "my" instead of the punctuation variables: >> >> if (my @capture = /$regex/) { >> foreach @capture { >> do something; >> } >> } >> > > That doesn't make any difference, @capture still (seems to get) the 1/true > result code > when there is no capturing. > > > > It should create a new @capture each time. It doesn't always capture > something, right? I'll have to try it when I get home. > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From legrady at gmail.com Fri May 10 16:00:41 2013 From: legrady at gmail.com (Tom Legrady) Date: Fri, 10 May 2013 19:00:41 -0400 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: <508E1AD9-7D4C-4524-AEAD-48B1C9798FD9@gmail.com> References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> <508E1AD9-7D4C-4524-AEAD-48B1C9798FD9@gmail.com> Message-ID: When a regex has a capture, the return value of m// is the list of matched substrings. When it does not capture, it returns a boolean to indicate whether it matched or not. That's why you can do: if ( $line =~ /$pattern/o ) { .... } Newer perls allow naming of captures within the RE. Read the Captures section of perldoc perlre: Additionally, as of Perl 5.10.0 you may use named capture buffers and named backreferences. The notation is "(?...)" to declare and "\k" to reference. You may also use apostrophes instead of angle brackets to delimit the name; and you may use the bracketed "\g{name}" backreference syntax. It?s possible to refer to a named capture buffer by absolute and relative number as well. Outside the pattern, a named capture buffer is available via the "%+" hash. Tom On Fri, May 10, 2013 at 4:47 PM, Quantum Mechanic < quantum.mechanic.1964 at gmail.com> wrote: > > On Fri, May 10, 2013 at 1:33 PM, Quantum Mechanic < > quantum.mechanic.1964 at gmail.com> wrote: > >> I would have tried "my" instead of the punctuation variables: >> >> if (my @capture = /$regex/) { >> foreach @capture { >> do something; >> } >> } >> > > That doesn't make any difference, @capture still (seems to get) the 1/true > result code > when there is no capturing. > > > > It should create a new @capture each time. It doesn't always capture > something, right? I'll have to try it when I get home. > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quantum.mechanic.1964 at gmail.com Fri May 10 16:12:25 2013 From: quantum.mechanic.1964 at gmail.com (Kwan Tamakanic) Date: Sat, 11 May 2013 00:12:25 +0100 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> <508E1AD9-7D4C-4524-AEAD-48B1C9798FD9@gmail.com> Message-ID: Source: #!/usr/bin/env perl use strict; use warnings; my $regex = 'one'; my $prompt = "? "; print $prompt; while (<>) { if (my @capture = /$regex/ig) { foreach (@capture) { print "($.) found <$_>\n"; } } else { print "($.) didn't match\n"; } print $prompt; } exit; Result: %> capture.pl ? One oNe onE two (1) found (1) found (1) found ? three (2) didn't match ? four (3) didn't match ? ^C I would say, if for you, @capture is always true, then it's getting some value outside the scope you have shown us. -QM On Fri, May 10, 2013 at 10:01 PM, Rob Janes wrote: > if (my @cap = /$regex/) { > @cap = ($&) unless defined $1; > foreach @cap { > do something; > } > } > On May 10, 2013 4:47 PM, "Quantum Mechanic" < > quantum.mechanic.1964 at gmail.com> wrote: > >> >> On Fri, May 10, 2013 at 1:33 PM, Quantum Mechanic < >> quantum.mechanic.1964 at gmail.com> wrote: >> >>> I would have tried "my" instead of the punctuation variables: >>> >>> if (my @capture = /$regex/) { >>> foreach @capture { >>> do something; >>> } >>> } >>> >> >> That doesn't make any difference, @capture still (seems to get) the >> 1/true result code >> when there is no capturing. >> >> >> >> It should create a new @capture each time. It doesn't always capture >> something, right? I'll have to try it when I get home. >> >> >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org >> http://mail.pm.org/mailman/listinfo/toronto-pm >> >> -- -QM Quantum Mechanics: The dreams stuff is made of -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at shlomifish.org Sat May 11 01:14:27 2013 From: shlomif at shlomifish.org (Shlomi Fish) Date: Sat, 11 May 2013 11:14:27 +0300 Subject: [tpm] problems with what regex returns ... in context ? In-Reply-To: <60470EEC17424B79945F022BC69044EF@gmail.com> References: <2F79385A-301E-4B78-BA4D-8F76EF7E6A5F@stok.ca> <60470EEC17424B79945F022BC69044EF@gmail.com> Message-ID: <20130511111427.343af8ba@telaviv1.shlomifish.org> On Fri, 10 May 2013 11:23:54 -0400 Carlo Costantini wrote: > Because I was following along and thought others might be following as well. > I thought I would summarize what you discovered to help you with this > situation. > > After looking up $+. I saw that there is also $& which has the string of the > last pattern match. > Regarding $&, see its entry in http://perldoc.perl.org/perlvar.html : < QUOTE > $MATCH $& The string matched by the last successful pattern match (not counting any matches hidden within a BLOCK or eval() enclosed by the current BLOCK). The use of this variable anywhere in a program imposes a considerable performance penalty on all regular expression matches. To avoid this penalty, you can extract the same substring by using @-. Starting with Perl 5.10, you can use the /p match flag and the ${^MATCH} variable to do the same thing for particular match operations. This variable is read-only and dynamically-scoped. Mnemonic: like & in some editors. < / QUOTE > Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ List of Text Editors and IDEs - http://shlom.in/IDEs Tel Aviv, a functional definition: free parking space?free space. ? Shachar Shemesh ( http://blog.shemesh.biz/?p=435 ) Please reply to list if it's a mailing list post - http://shlom.in/reply . From arocker at Vex.Net Mon May 13 09:22:50 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 13 May 2013 12:22:50 -0400 Subject: [tpm] Future meeting suggestions In-Reply-To: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> References: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> Message-ID: Are people quietly filling up Stuart's Excellent Idea, without posting them to the list? I hope so. From stuart at morungos.com Mon May 13 09:37:23 2013 From: stuart at morungos.com (Stuart Watt) Date: Mon, 13 May 2013 12:37:23 -0400 Subject: [tpm] Future meeting suggestions In-Reply-To: References: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> Message-ID: <01B3A6C1-C2F3-4C0D-8144-DEBF6197F149@morungos.com> I wish that was true. It isn't, alas. --S On 2013-05-13, at 12:22 PM, arocker at Vex.Net wrote: > > Are people quietly filling up Stuart's Excellent Idea, without posting > them to the list? > > I hope so. > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Stuart Watt stuart at morungos.com / twitter.com/morungos -------------- next part -------------- An HTML attachment was scrubbed... URL: From arocker at Vex.Net Mon May 13 10:03:17 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 13 May 2013 13:03:17 -0400 Subject: [tpm] Future meeting suggestions In-Reply-To: <01B3A6C1-C2F3-4C0D-8144-DEBF6197F149@morungos.com> References: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> <01B3A6C1-C2F3-4C0D-8144-DEBF6197F149@morungos.com> Message-ID: > I wish that was true. > > It isn't, alas. > I'd do something myself, but, a) without work, it's hard to invent interesting (Perl) problems b) somebody's got to mind the door. From stuart at morungos.com Mon May 13 10:07:51 2013 From: stuart at morungos.com (Stuart Watt) Date: Mon, 13 May 2013 13:07:51 -0400 Subject: [tpm] Future meeting suggestions In-Reply-To: References: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> <01B3A6C1-C2F3-4C0D-8144-DEBF6197F149@morungos.com> Message-ID: You'd think, given all the regex questions, that someone could find some interesting corners in that topic. Especially on regex performance techniques, which is actually important/useful/interesting. *looks around the list* --S On 2013-05-13, at 1:03 PM, arocker at Vex.Net wrote: >> I wish that was true. >> >> It isn't, alas. >> > > I'd do something myself, but, > > a) without work, it's hard to invent interesting (Perl) problems > b) somebody's got to mind the door. > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Stuart Watt stuart at morungos.com / twitter.com/morungos -------------- next part -------------- An HTML attachment was scrubbed... URL: From olaf.alders at gmail.com Mon May 13 11:44:16 2013 From: olaf.alders at gmail.com (Olaf Alders) Date: Mon, 13 May 2013 14:44:16 -0400 Subject: [tpm] Future meeting suggestions In-Reply-To: References: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> <01B3A6C1-C2F3-4C0D-8144-DEBF6197F149@morungos.com> Message-ID: <89A0251F-07F5-43C2-9653-B0BD1F4DD3DC@gmail.com> On 2013-05-13, at 1:07 PM, Stuart Watt wrote: > You'd think, given all the regex questions, that someone could find some interesting corners in that topic. Especially on regex performance techniques, which is actually important/useful/interesting. > > *looks around the list* > > --S It would be helpful to link to the Google doc from the web site or even to use the wiki that we've got for the web site https://github.com/toronto-perl-mongers/tpm-website/wiki I think it's a good idea to track ideas of topics this way. Olaf -- Olaf Alders olaf.alders at gmail.com http://www.wundercounter.com http://twitter.com/wundercounter 866 503 2204 (Toll free - North America) 416 944 8306 (direct) From fulko.hew at gmail.com Mon May 13 11:50:46 2013 From: fulko.hew at gmail.com (Fulko Hew) Date: Mon, 13 May 2013 14:50:46 -0400 Subject: [tpm] Future meeting suggestions In-Reply-To: References: <9C91749D-3913-4FE4-88F3-7EBD5801E36A@morungos.com> <01B3A6C1-C2F3-4C0D-8144-DEBF6197F149@morungos.com> Message-ID: On Mon, May 13, 2013 at 1:07 PM, Stuart Watt wrote: > You'd think, given all the regex questions, that someone could find some > interesting corners in that topic. Especially on regex performance > techniques, which is actually important/useful/interesting. > > *looks around the list* > yeah... yeah... yeah... I already got the not-so-subtle hint at last months meeting/diner. Right now I'm too busy getting painted _into_ corners that I have the time to paint myself out of the corner and come up with a 'coherent' non-bable-ing presentation that would last more than 5 minutes. Probably something entitled: Rocks I Have Stumbled Over... (and the jackhammer I used) -------------- next part -------------- An HTML attachment was scrubbed... URL: From vvp at cogeco.ca Mon May 13 13:39:33 2013 From: vvp at cogeco.ca (Viktor Pavlenko) Date: Mon, 13 May 2013 16:39:33 -0400 Subject: [tpm] Control-D blocks STDIN when another thread is running Message-ID: <20881.20357.346784.691085@cogeco.ca> Hello All! I have a multithreaded perl script where the main thread runs an interactive loop getting user input and passes it for processing to another thread. All works fine except when I press Control-D at the prompt. There's no response and I have to use ^\ to kill the script. The problem can be reproduced with the following script: bash-3.2$ cat ./stdin_test.pl #!/usr/bin/perl -w use strict; use threads; my $t = threads->create(sub { sleep 10; print "done\n" }); while (<>) { print $_; } $t->join(); print "bye\n"; bash-3.2$ ./stdin_test.pl aa aa <------------- hitting ^d here, blocks until another thread exits done bye bash-3.2$ I'm on linux, tried both perl versions 5.8.8 and 5.10.1. Google search strangely gave me nothing. -- Viktor From legrady at gmail.com Mon May 13 15:41:12 2013 From: legrady at gmail.com (Tom Legrady) Date: Mon, 13 May 2013 18:41:12 -0400 Subject: [tpm] Control-D blocks STDIN when another thread is running In-Reply-To: <20881.20357.346784.691085@cogeco.ca> References: <20881.20357.346784.691085@cogeco.ca> Message-ID: When you press ^D, whether before or after the thread has printed "done", the main process exits the loop, and goes on to the join. If necessary, it waits for the thread to terminate and the join() to be performed. How would you like it to be different? I suppose you could detect a special input, and exit at that point. On Mon, May 13, 2013 at 4:39 PM, Viktor Pavlenko wrote: > Hello All! > > I have a multithreaded perl script where the main thread runs an > interactive loop getting user input and passes it for processing to > another thread. All works fine except when I press Control-D at the > prompt. There's no response and I have to use ^\ to kill the script. > > The problem can be reproduced with the following script: > > bash-3.2$ cat ./stdin_test.pl > #!/usr/bin/perl -w > > use strict; > use threads; > > my $t = threads->create(sub { sleep 10; print "done\n" }); > > while (<>) { > print $_; > } > > $t->join(); > print "bye\n"; > > bash-3.2$ ./stdin_test.pl > aa > aa > <------------- hitting ^d here, blocks until another thread exits > done > bye > bash-3.2$ > > I'm on linux, tried both perl versions 5.8.8 and 5.10.1. Google search > strangely gave me nothing. > > -- > Viktor > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vvp at cogeco.ca Mon May 13 18:03:13 2013 From: vvp at cogeco.ca (Viktor Pavlenko) Date: Mon, 13 May 2013 21:03:13 -0400 Subject: [tpm] Control-D blocks STDIN when another thread is running In-Reply-To: References: <20881.20357.346784.691085@cogeco.ca> Message-ID: <20881.36177.204237.221460@cogeco.ca> You are right Tom, I wasn't seeing obvious. For some reason I believed it hanged in (<>). My bad, thanks for pointing it out. -- Viktor >>>>> "TL" == Tom Legrady writes: TL> When you press ^D, whether before or after the thread has TL> printed "done", the main process exits the loop, and goes on TL> to the join. If necessary, it waits for the thread to TL> terminate and the join() to be performed. TL> How would you like it to be different? I suppose you could TL> detect a special input, and exit at that point. TL> On Mon, May 13, 2013 at 4:39 PM, Viktor Pavlenko wrote: >> Hello All! >> >> I have a multithreaded perl script where the main thread runs an >> interactive loop getting user input and passes it for processing to >> another thread. All works fine except when I press Control-D at the >> prompt. There's no response and I have to use ^\ to kill the script. >> >> The problem can be reproduced with the following script: >> >> bash-3.2$ cat ./stdin_test.pl >> #!/usr/bin/perl -w >> >> use strict; >> use threads; >> >> my $t = threads->create(sub { sleep 10; print "done\n" }); >> >> while (<>) { >> print $_; >> } >> >> $t->join(); >> print "bye\n"; >> >> bash-3.2$ ./stdin_test.pl >> aa >> aa >> <------------- hitting ^d here, blocks until another thread exits >> done >> bye >> bash-3.2$ >> >> I'm on linux, tried both perl versions 5.8.8 and 5.10.1. Google search >> strangely gave me nothing. >> >> -- >> Viktor From arocker at Vex.Net Tue May 21 12:54:06 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Tue, 21 May 2013 15:54:06 -0400 Subject: [tpm] We still need a topic for next week Message-ID: Not to mention someone to deliver it. Mojolicious? From mike at stok.ca Tue May 21 15:38:43 2013 From: mike at stok.ca (Mike Stok) Date: Tue, 21 May 2013 18:38:43 -0400 Subject: [tpm] We still need a topic for next week In-Reply-To: References: Message-ID: I am at another event next Thursday... Why do these interesting things have to collide? Mike On 2013-05-21, at 3:54 PM, arocker at Vex.Net wrote: > > Not to mention someone to deliver it. > > Mojolicious? > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From antoniosun at lavabit.com Wed May 22 07:47:55 2013 From: antoniosun at lavabit.com (Antonio Sun) Date: Wed, 22 May 2013 10:47:55 -0400 Subject: [tpm] Pivot record dump Message-ID: Hi, I'm wondering what's the best approach to pivot a record dump. My simple record dump will be consists of two lines, first header then the record, with each field/header-name separated with \t. Here is an sample: Id\tFirstN\tLastN\t... 1\tSam\tSmith\t... Also, if you think it can be done with normal *nix tools, without using Perl, I'm very much interested to know as well. Thanks Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoniosun at lavabit.com Wed May 22 07:51:03 2013 From: antoniosun at lavabit.com (Antonio Sun) Date: Wed, 22 May 2013 10:51:03 -0400 Subject: [tpm] Pivot record dump In-Reply-To: References: Message-ID: Sorry, forgot to mention... On Wed, May 22, 2013 at 10:47 AM, Antonio Sun wrote: > Hi, > > I'm wondering what's the best approach to pivot a record dump. > > My simple record dump will be consists of two lines, first header then the > record, with each field/header-name separated with \t. > > Here is an example: > > Id\tFirstN\tLastN\t... > 1\tSam\tSmith\t... > And the pivoted result would be: Id=1 FirstN=Sam LastN=Smith ... Also, if you think it can be done with normal *nix tools, without using > Perl, I'm very much interested to know as well. > > Thanks > > Antonio > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From indy at indigostar.com Wed May 22 09:01:31 2013 From: indy at indigostar.com (Indy Singh) Date: Wed, 22 May 2013 12:01:31 -0400 Subject: [tpm] Pivot record dump In-Reply-To: References: Message-ID: How about something like this: my $x = <>; chomp $x; my @headings = split(/,/, $x); my $y = <>; chomp $y; my @data = split(/,/, $y); foreach my $i (0 .. $#headings) { print "$headings[$i]=$data[$i]\n"; } Indy Singh IndigoSTAR Software -- www.indigostar.com Indy Singh IndigoSTAR Software -- www.indigostar.com From: Antonio Sun Sent: Wednesday, May 22, 2013 10:51 AM To: TPM Subject: Re: [tpm] Pivot record dump Sorry, forgot to mention... On Wed, May 22, 2013 at 10:47 AM, Antonio Sun wrote: Hi, I'm wondering what's the best approach to pivot a record dump. My simple record dump will be consists of two lines, first header then the record, with each field/header-name separated with \t. Here is an example: Id\tFirstN\tLastN\t... 1\tSam\tSmith\t... And the pivoted result would be: Id=1 FirstN=Sam LastN=Smith ... Also, if you think it can be done with normal *nix tools, without using Perl, I'm very much interested to know as well. Thanks Antonio -------------------------------------------------------------------------------- _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoniosun at lavabit.com Wed May 22 10:46:31 2013 From: antoniosun at lavabit.com (Antonio Sun) Date: Wed, 22 May 2013 13:46:31 -0400 Subject: [tpm] Pivot record dump In-Reply-To: References: Message-ID: On Wed, May 22, 2013 at 12:01 PM, Indy Singh wrote: > How about something like this. . . > Thanks a lot Indy! -------------- next part -------------- An HTML attachment was scrubbed... URL: From arocker at Vex.Net Fri May 24 11:35:54 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Fri, 24 May 2013 14:35:54 -0400 Subject: [tpm] Vim-fu Message-ID: <13688bb004d96c8968e95ce324f81f29.squirrel@mail.vex.net> Does anyone have enough to deconstruct Damian Conway's .vimrc? http://www.ibm.com/developerworks/linux/library/l-vim-script-5/index.html We need a topic for next Thursday. From arocker at Vex.Net Sat May 25 12:10:50 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Sat, 25 May 2013 15:10:50 -0400 Subject: [tpm] Regexes? Message-ID: <1d9ad29f63319c9ce4dfe5af4f6faf38.squirrel@mail.vex.net> If nobody has a talk ready for Thursday, how about a sort of "lightning talk" format on "My favourite regex", (or least favourite)? The topic seems to have been under discussion recently; present an example or problem, and deconstruct it with audience participation. From arocker at Vex.Net Mon May 27 11:57:00 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 27 May 2013 14:57:00 -0400 Subject: [tpm] CGI.pm or not? Message-ID: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> If nobody's interested in discussing regex weirdness on Thursday, how about CGI? There's a suggestion that CGI.pm might be dropped from the core modules. Is anyone still using CGI for controlling web sites, or has everyone moved on? If so, to what? From legrady at gmail.com Mon May 27 12:07:27 2013 From: legrady at gmail.com (Tom Legrady) Date: Mon, 27 May 2013 15:07:27 -0400 Subject: [tpm] CGI.pm or not? In-Reply-To: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> References: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> Message-ID: Mojolicious, Catalyst, Dancer, CAF, ..... On Mon, May 27, 2013 at 2:57 PM, wrote: > > If nobody's interested in discussing regex weirdness on Thursday, how > about CGI? There's a suggestion that CGI.pm might be dropped from the core > modules. > > Is anyone still using CGI for controlling web sites, or has everyone moved > on? > If so, to what? > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at morungos.com Mon May 27 12:09:11 2013 From: stuart at morungos.com (Stuart Watt) Date: Mon, 27 May 2013 15:09:11 -0400 Subject: [tpm] CGI.pm or not? In-Reply-To: References: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> Message-ID: <217883C6-50A4-464E-B72D-FA1B34025136@morungos.com> I can chip in a quick bit on FastCGI if useful. Don't have time (this month) to prepare a full bit, but I could do that. --S On 2013-05-27, at 3:07 PM, Tom Legrady wrote: > Mojolicious, Catalyst, Dancer, CAF, ..... > > > On Mon, May 27, 2013 at 2:57 PM, wrote: > > If nobody's interested in discussing regex weirdness on Thursday, how > about CGI? There's a suggestion that CGI.pm might be dropped from the core > modules. > > Is anyone still using CGI for controlling web sites, or has everyone moved > on? > If so, to what? > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Stuart Watt stuart at morungos.com / twitter.com/morungos -------------- next part -------------- An HTML attachment was scrubbed... URL: From fulko.hew at gmail.com Mon May 27 12:21:37 2013 From: fulko.hew at gmail.com (Fulko Hew) Date: Mon, 27 May 2013 15:21:37 -0400 Subject: [tpm] CGI.pm or not? In-Reply-To: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> References: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> Message-ID: On Mon, May 27, 2013 at 2:57 PM, wrote: > > If nobody's interested in discussing regex weirdness on Thursday, how > about CGI? There's a suggestion that CGI.pm might be dropped from the core > modules. > > Is anyone still using CGI for controlling web sites, or has everyone moved > on? > If so, to what? > Like Stuart, I don't have the time to come up with my 'regex toe stubbers' for this month but I'm willing to discuss CGI, and listen to FastCGI. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arocker at Vex.Net Mon May 27 12:52:56 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Mon, 27 May 2013 15:52:56 -0400 Subject: [tpm] CGI.pm or not? In-Reply-To: References: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> Message-ID: Fulko wrote > > Like Stuart, I don't have the time to come up with my 'regex toe stubbers' > for this month but I'm willing to discuss CGI, and listen to FastCGI. > Then shall we nominate CGI and its alternatives as the topic for a general discussion this month? Will somebody volunteer to chair; basically just introduce the topic and keep order? From mike at stok.ca Mon May 27 13:44:20 2013 From: mike at stok.ca (Mike Stok) Date: Mon, 27 May 2013 16:44:20 -0400 Subject: [tpm] CGI.pm or not? In-Reply-To: References: <6b7103eaf2c7c0054c471842cc887c1d.squirrel@mail.vex.net> Message-ID: <84EB8B4E-9826-468C-87B6-05B846CF7C21@stok.ca> On 2013-05-27, at 3:52 PM, arocker at Vex.Net wrote: > > Fulko wrote >> >> Like Stuart, I don't have the time to come up with my 'regex toe stubbers' >> for this month but I'm willing to discuss CGI, and listen to FastCGI. >> > > Then shall we nominate CGI and its alternatives as the topic for a general > discussion this month? Will somebody volunteer to chair; basically just > introduce the topic and keep order? The TPM web site has been updated. Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From arocker at Vex.Net Tue May 28 06:31:36 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Tue, 28 May 2013 09:31:36 -0400 Subject: [tpm] [Fwd: [u-u] main=0;] Message-ID: <3db7677bb80b642b81e836ad68fadda5.squirrel@mail.vex.net> [A neat piece of C perversity. Perl isn't the only language for golfing.] main=0; http://llbit.se/?p=1744 -- Need what I can do? Hire me: http://www.PhaedraV.com/CV.html Hugh Gamble voice: 905 787 1849 cell: 416 602 4050 Hugh at PhaedraV.com ICQ 207069950 _______________________________________________ u-u mailing list u-u at unixunanimous.org https://unixunanimous.org/mailman/listinfo/u-u From arocker at Vex.Net Fri May 31 06:13:17 2013 From: arocker at Vex.Net (arocker at Vex.Net) Date: Fri, 31 May 2013 09:13:17 -0400 Subject: [tpm] Get organised or don't bother Message-ID: Fulko, Stuart, and I had a pleasant discussion last night, but there seems very little point in my arranging a meeting room for 3 people. User groups definitely benefit from the network effect, (the more participants, the more use they are), but it works both ways. Somebody, (preferably more than one person, to prevent burnout), has to put together a plan for future meetings, and ensure that there's an audience. If this doesn't happen, soon, I might as well not bother with future arrangements. From mike at stok.ca Fri May 31 06:25:09 2013 From: mike at stok.ca (Mike Stok) Date: Fri, 31 May 2013 09:25:09 -0400 Subject: [tpm] Get organised or don't bother In-Reply-To: References: Message-ID: On 2013-05-31, at 9:13 AM, arocker at Vex.Net wrote: > > Fulko, Stuart, and I had a pleasant discussion last night, but there seems > very little point in my arranging a meeting room for 3 people. > > User groups definitely benefit from the network effect, (the more > participants, the more use they are), but it works both ways. > > Somebody, (preferably more than one person, to prevent burnout), has to > put together a plan for future meetings, and ensure that there's an > audience. If this doesn't happen, soon, I might as well not bother with > future arrangements. There are only 9 months per year to get structured content for, if we work on the assumption that we can get Damian Conway lured up some time in the summer, and we have Lightning Talks on September, and a social in December. I'm quite happy to do a talk per year, they are likely not to be directly related to Perl as I am currently not using Perl for anything. They might be software or practise based. One thing Abram Hindle mentioned was to have a couple of canned presentations (maybe on a couple of perl modules) ready to fill in for cancellations. I for one appreciate the time and effort Alan puts in to getting us a place month after month, year after year. Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From jztam at yahoo.com Fri May 31 14:33:18 2013 From: jztam at yahoo.com (J Z Tam) Date: Fri, 31 May 2013 14:33:18 -0700 (PDT) Subject: [tpm] Get organised or don't bother In-Reply-To: Message-ID: <1370035998.14290.YahooMailClassic@web120903.mail.ne1.yahoo.com> Attendance Tracking: Hey Alan, ? I know how much brain power and miles you spend doing the room bookings. Thank you kindly for you undying efforts.? Sorry the turnout was low, maybe we can self-organize and send out our attendance intentions to make critical mass.? Mea culpa for not sending my regrets this week. June gig or July gig: Hey mongeren, ?? We have the efficient and talented Michelle Warren? bookable for either of the next 2 events.? June 27 or July 25.?? She has agreed to give her "Efficient Communicator's"? talk and/or "Career"? talk but she is very flexible on topic selections.? We are encouraged to ask for what WE want her to advise us about, so please surf around and share your preferences to this list. She lives here:???? ??????? http://www.michellewarren.ca/ Take the web content with a grain of salt.? Michelle would excel at "karoake talks", but let's get the topic selection ballparked in the next two weeks. IIRC,? her "Efficient Communicator's"? talk is very applicable to I.T. professional corporate life, Pythonesquely humourous, scythingly truthful and effective... but I'm thick-skinned and have know her for years.? Your mileage may vary.? Oh Mr. Doyle!?? I found the paradigms useful for step-relations as well, worked like a charm, but I don't have use for them any more ;-). --- On Fri, 5/31/13, Mike Stok wrote: From: Mike Stok Subject: Re: [tpm] Get organised or don't bother To: arocker at Vex.Net Cc: "Toronto PerlMongers" Received: Friday, May 31, 2013, 9:25 AM On 2013-05-31, at 9:13 AM, arocker at Vex.Net wrote: > > Fulko, Stuart, and I had a pleasant discussion last night, but there seems > very little point in my arranging a meeting room for 3 people. > > User groups definitely benefit from the network effect, (the more > participants, the more use they are), but it works both ways. > > Somebody, (preferably more than one person, to prevent burnout), has to > put together a plan for future meetings, and ensure that there's an > audience. If this doesn't happen, soon, I might as well not bother with > future arrangements. There are only 9 months per year to get structured content for, if we work on the assumption that we can get Damian Conway lured up some time in the summer, and we have Lightning Talks on September, and a social in December. I'm quite happy to do a talk per year, they are likely not to be directly related to Perl as I am currently not using Perl for anything. They might be software or practise based. One thing Abram Hindle mentioned was to have a couple of canned presentations (maybe on a couple of perl modules) ready to fill in for cancellations. I for one appreciate the time and effort Alan puts in to getting us a place month after month, year after year. Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From olaf.alders at gmail.com Fri May 31 14:39:48 2013 From: olaf.alders at gmail.com (Olaf Alders) Date: Fri, 31 May 2013 17:39:48 -0400 Subject: [tpm] Get organised or don't bother In-Reply-To: <1370035998.14290.YahooMailClassic@web120903.mail.ne1.yahoo.com> References: <1370035998.14290.YahooMailClassic@web120903.mail.ne1.yahoo.com> Message-ID: On 2013-05-31, at 5:33 PM, J Z Tam wrote: > Attendance Tracking: > Hey Alan, > I know how much brain power and miles you spend doing the room bookings. Thank you kindly for you undying efforts. Sorry the turnout was low, maybe we can self-organize and send out our attendance intentions to make critical mass. Mea culpa for not sending my regrets this week. Let me second that I really appreciate you taking care of this month after month, Alan. I'm no longer living in Toronto, so it's a fair bit harder for me to make it to meetings. I do think being organized well in advance and finding topics that a number of people find interesting is key to getting the attendance numbers up, though. I can remember some lightning talk nights which were very well attended. The Arduino night stands out as a very popular one as well. > > June gig or July gig: > Hey mongeren, > We have the efficient and talented Michelle Warren bookable for either of the next 2 events. June 27 or July 25. She has agreed to give her "Efficient Communicator's" talk and/or "Career" talk but she is very flexible on topic selections. We are encouraged to ask for what WE want her to advise us about, so please surf around and share your preferences to this list. > She lives here: > > http://www.michellewarren.ca/ > > Take the web content with a grain of salt. Michelle would excel at "karoake talks", but let's get the topic selection ballparked in the next two weeks. > IIRC, her "Efficient Communicator's" talk is very applicable to I.T. professional corporate life, Pythonesquely humourous, scythingly truthful and effective... but I'm thick-skinned and have know her for years. Your mileage may vary. Oh Mr. Doyle!? I found the paradigms useful for step-relations as well, worked like a charm, but I don't have use for them any more ;-). That looks like a good idea to me. I think in June we would normally do the YAPC post mortem. I'm going to be at YAPC::NA and I know that Matt will be as well. Anyone else planning to be there? Olaf -- Olaf Alders olaf.alders at gmail.com http://www.wundercounter.com http://twitter.com/wundercounter 866 503 2204 (Toll free - North America) 416 944 8306 (direct)