From fulko.hew at gmail.com Thu Nov 1 05:45:22 2007 From: fulko.hew at gmail.com (Fulko Hew) Date: Thu, 1 Nov 2007 08:45:22 -0400 Subject: [tpm] Weird arrary reference bahaviour In-Reply-To: <1193896439.28685.9.camel@dell.barefootcomputing.com> References: <8204a4fe0710260846w57722abciac302dca03150912@mail.gmail.com> <32042130-9EB1-41EC-B78C-CD139DEB575A@verizon.net> <99a6c38f0710261847h7975a9d6n224c618a30bbef78@mail.gmail.com> <38994.192.30.202.28.1193514703.squirrel@webmail.vex.net> <018401c81c19$45dfe3c0$6401a8c0@roadhog> <01b101c81c28$78e96390$6401a8c0@roadhog> <1193896439.28685.9.camel@dell.barefootcomputing.com> Message-ID: <8204a4fe0711010545x748e2a2fiec3648565b0f230c@mail.gmail.com> Liam is the closest with his analogy with C. Without clouding the issue with facts, I'd summarize with: a) Every time the 'my' statement is executed, it creates the variable anew. (I.e. allocates memory for the variable. etc.) b) Regardless of whether or not you take a reference to it. c) Regardless of whether garbage collection occurs. And looking for the same memory address doesn't mean it is, or is not the 'same variable' because free() & malloc() and a bunch of other code may, or may not have been run (that you don't know of) to re-set-up that variable, even if it _was_ the same address. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071101/e6210be4/attachment.html From fulko.hew at gmail.com Thu Nov 1 06:26:10 2007 From: fulko.hew at gmail.com (Fulko Hew) Date: Thu, 1 Nov 2007 09:26:10 -0400 Subject: [tpm] Weird arrary reference bahaviour In-Reply-To: <1193896439.28685.9.camel@dell.barefootcomputing.com> References: <8204a4fe0710260846w57722abciac302dca03150912@mail.gmail.com> <32042130-9EB1-41EC-B78C-CD139DEB575A@verizon.net> <99a6c38f0710261847h7975a9d6n224c618a30bbef78@mail.gmail.com> <38994.192.30.202.28.1193514703.squirrel@webmail.vex.net> <018401c81c19$45dfe3c0$6401a8c0@roadhog> <01b101c81c28$78e96390$6401a8c0@roadhog> <1193896439.28685.9.camel@dell.barefootcomputing.com> Message-ID: <8204a4fe0711010626s4b612c2fjece67a68098edcd1@mail.gmail.com> On Wed, 2007-10-31 at 21:42 -0400, Indy Singh wrote: At the end of each iteration of the loop, @f falls out of scope. > I would have thought that @f falls out of scope _after_ the closing > brace, not while still inside it. But you seem to be right. You are right in your assumption, but there are two phases that you are (incorrectly) grouping together... The name of @f _does_ fall out of scope after the brace, but the allocated 'stuff' to contain the data doesn't (I.e. if a reference is taken). But on the other hand, every 'my' encountered would allocate a new bit of 'stuff' regardless of any scope issue. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071101/7666e49c/attachment.html From arocker at vex.net Thu Nov 1 13:14:02 2007 From: arocker at vex.net (arocker at vex.net) Date: Thu, 1 Nov 2007 16:14:02 -0400 (EDT) Subject: [tpm] Git Schwartz Message-ID: <37626.192.30.202.29.1193948042.squirrel@webmail.vex.net> Randal talking about Git at Google: http://video.google.ca/videoplay?docid=-3999952944619245780 From arocker at vex.net Mon Nov 5 07:24:12 2007 From: arocker at vex.net (arocker at vex.net) Date: Mon, 5 Nov 2007 10:24:12 -0500 (EST) Subject: [tpm] Feedback solicited Message-ID: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> My "Lightning Talk" on testing last month was in itself a test. If anyone can remember it, did the ideas strike you as: a) Valid b) Novel c) Interesting or did I appear to have a Cranio-Rectal Inversion? Positive answers to the first 3 options will encourage me to work on the concepts, otherwise I will crawl back under my rock. From levp at lev.ca Mon Nov 5 19:46:42 2007 From: levp at lev.ca (Lev Piaseckyj) Date: Mon, 5 Nov 2007 22:46:42 -0500 Subject: [tpm] Feedback solicited In-Reply-To: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> Message-ID: Alan, I enjoyed your lightning talk about testing (and breaking airplanes), and encourage you to develop it further. Testing is a topic worth discussing, imho. Lev At 10:24 AM -0500 11/5/07, arocker at vex.net wrote: >My "Lightning Talk" on testing last month was in itself a test. If anyone >can remember it, did the ideas strike you as: > >a) Valid >b) Novel >c) Interesting > >or did I appear to have a Cranio-Rectal Inversion? > >Positive answers to the first 3 options will encourage me to work on the >concepts, otherwise I will crawl back under my rock. From indy at indigostar.com Tue Nov 6 10:39:39 2007 From: indy at indigostar.com (Indy Singh) Date: Tue, 6 Nov 2007 13:39:39 -0500 Subject: [tpm] Regex question References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> Message-ID: <014001c820a4$63fba260$6600a8c0@roadhog> Hello all, I have some multiline data as shown below. I want to remove all occurances of 'foo.*?' that are at the beginning of a line. How can I do that witha regex. I can do it with a while loop, but is a there a more elegent way with a single regex? Perhaps using some look ahead or look behind assertion. $x='foo one foo two other foo three more stuff '; print "x=$x"; while ($x =~ s//(^|$)foo.*?\n//gs) {1;} print "x=$x"; From mfowle at navicominc.com Tue Nov 6 10:52:35 2007 From: mfowle at navicominc.com (Mark Fowle) Date: Tue, 6 Nov 2007 13:52:35 -0500 Subject: [tpm] Regex question In-Reply-To: <014001c820a4$63fba260$6600a8c0@roadhog> References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> Message-ID: <759E3F14A23281479A85A082BBCFA5421A11E3@sbsa.NavicomInc.local> I think your regex would fail - has four slashes. I think your solution would fail with foos selarated by another line as it'll never be at the front. I changed the expression to \nfoo.*?\n replacing one of the \n It seems to work as expected. I'm always scared of regexes being greedy so would probably write =~s/\n[^\n]*\n/\n/g; #!/usr/bin/perl $x='foo one foo two other foo three foo again more stuff '; print "x=$x"; #while ($x =~ s/(^|$)foo.*?\n//gs) {1;} $x =~ s/\nfoo.*?\n/\n/g; print "x=$x"; -----Original Message----- From: toronto-pm-bounces+mfowle=navicominc.com at pm.org [mailto:toronto-pm-bounces+mfowle=navicominc.com at pm.org] On Behalf Of Indy Singh Sent: Tuesday, November 06, 2007 1:40 PM To: tpm at to.pm.org Subject: [tpm] Regex question Hello all, I have some multiline data as shown below. I want to remove all occurances of 'foo.*?' that are at the beginning of a line. How can I do that witha regex. I can do it with a while loop, but is a there a more elegent way with a single regex? Perhaps using some look ahead or look behind assertion. $x='foo one foo two other foo three more stuff '; print "x=$x"; while ($x =~ s//(^|$)foo.*?\n//gs) {1;} print "x=$x"; _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm From ejanev at gmail.com Tue Nov 6 10:55:44 2007 From: ejanev at gmail.com (Emil Janev) Date: Tue, 6 Nov 2007 13:55:44 -0500 Subject: [tpm] Regex question In-Reply-To: <014001c820a4$63fba260$6600a8c0@roadhog> References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> Message-ID: Hi Indy, Instead of: while ($x =~ s//(^|$)foo.*?\n//gs) {1;} I tried: $x =~ s/(^|$)foo.*?\n//mgs; and it gives the same result. Regards, Emil On Nov 6, 2007 1:39 PM, Indy Singh wrote: > Hello all, > > I have some multiline data as shown below. I want to remove all > occurances of 'foo.*?' that are at the beginning of a line. How can I > do that witha regex. I can do it with a while loop, but is a there a > more elegent way with a single regex? Perhaps using some look ahead or > look behind assertion. > > > $x='foo one > foo two > other foo three > more stuff > '; > print "x=$x"; > while ($x =~ s//(^|$)foo.*?\n//gs) {1;} > print "x=$x"; > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Emil Janev From indy at indigostar.com Tue Nov 6 10:59:48 2007 From: indy at indigostar.com (Indy Singh) Date: Tue, 6 Nov 2007 13:59:48 -0500 Subject: [tpm] Regex question References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> <759E3F14A23281479A85A082BBCFA5421A11E3@sbsa.NavicomInc.local> Message-ID: <016601c820a7$34b8c250$6600a8c0@roadhog> That didn't quite work. The first line is left behind. Here is the result ('foo one' should not be there): x=foo one other foo three more stuff Indy Singh IndigoSTAR Software -- www.indigostar.com ----- Original Message ----- From: "Mark Fowle" To: "Indy Singh" ; Sent: Tuesday, November 06, 2007 1:52 PM Subject: RE: [tpm] Regex question I think your regex would fail - has four slashes. I think your solution would fail with foos selarated by another line as it'll never be at the front. I changed the expression to \nfoo.*?\n replacing one of the \n It seems to work as expected. I'm always scared of regexes being greedy so would probably write =~s/\n[^\n]*\n/\n/g; #!/usr/bin/perl $x='foo one foo two other foo three foo again more stuff '; print "x=$x"; #while ($x =~ s/(^|$)foo.*?\n//gs) {1;} $x =~ s/\nfoo.*?\n/\n/g; print "x=$x"; -----Original Message----- From: toronto-pm-bounces+mfowle=navicominc.com at pm.org [mailto:toronto-pm-bounces+mfowle=navicominc.com at pm.org] On Behalf Of Indy Singh Sent: Tuesday, November 06, 2007 1:40 PM To: tpm at to.pm.org Subject: [tpm] Regex question Hello all, I have some multiline data as shown below. I want to remove all occurances of 'foo.*?' that are at the beginning of a line. How can I do that witha regex. I can do it with a while loop, but is a there a more elegent way with a single regex? Perhaps using some look ahead or look behind assertion. $x='foo one foo two other foo three more stuff '; print "x=$x"; while ($x =~ s//(^|$)foo.*?\n//gs) {1;} print "x=$x"; _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm From mfowle at navicominc.com Tue Nov 6 11:14:56 2007 From: mfowle at navicominc.com (Mark Fowle) Date: Tue, 6 Nov 2007 14:14:56 -0500 Subject: [tpm] Regex question In-Reply-To: <016601c820a7$34b8c250$6600a8c0@roadhog> References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> <759E3F14A23281479A85A082BBCFA5421A11E3@sbsa.NavicomInc.local> <016601c820a7$34b8c250$6600a8c0@roadhog> Message-ID: <759E3F14A23281479A85A082BBCFA5421A11E8@sbsa.NavicomInc.local> Here is my next attempt: $x =~ s/(\n|^|\G)foo[^\n]*(\n|$)/\n/g; The \G is "where I last matched" Noting this leaves blank lines which I doubt you want. -----Original Message----- From: Indy Singh [mailto:indy at indigostar.com] Sent: Tuesday, November 06, 2007 2:00 PM To: Mark Fowle; tpm at to.pm.org Subject: Re: [tpm] Regex question That didn't quite work. The first line is left behind. Here is the result ('foo one' should not be there): x=foo one other foo three more stuff Indy Singh IndigoSTAR Software -- www.indigostar.com ----- Original Message ----- From: "Mark Fowle" To: "Indy Singh" ; Sent: Tuesday, November 06, 2007 1:52 PM Subject: RE: [tpm] Regex question I think your regex would fail - has four slashes. I think your solution would fail with foos selarated by another line as it'll never be at the front. I changed the expression to \nfoo.*?\n replacing one of the \n It seems to work as expected. I'm always scared of regexes being greedy so would probably write =~s/\n[^\n]*\n/\n/g; #!/usr/bin/perl $x='foo one foo two other foo three foo again more stuff '; print "x=$x"; #while ($x =~ s/(^|$)foo.*?\n//gs) {1;} $x =~ s/\nfoo.*?\n/\n/g; print "x=$x"; -----Original Message----- From: toronto-pm-bounces+mfowle=navicominc.com at pm.org [mailto:toronto-pm-bounces+mfowle=navicominc.com at pm.org] On Behalf Of Indy Singh Sent: Tuesday, November 06, 2007 1:40 PM To: tpm at to.pm.org Subject: [tpm] Regex question Hello all, I have some multiline data as shown below. I want to remove all occurances of 'foo.*?' that are at the beginning of a line. How can I do that witha regex. I can do it with a while loop, but is a there a more elegent way with a single regex? Perhaps using some look ahead or look behind assertion. $x='foo one foo two other foo three more stuff '; print "x=$x"; while ($x =~ s//(^|$)foo.*?\n//gs) {1;} print "x=$x"; _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm From indy at indigostar.com Tue Nov 6 11:21:10 2007 From: indy at indigostar.com (Indy Singh) Date: Tue, 6 Nov 2007 14:21:10 -0500 Subject: [tpm] Regex question References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> Message-ID: <017701c820aa$304cd550$6600a8c0@roadhog> > $x =~ s/(^|$)foo.*?\n//mgs; Your use of the 'm' option suggested a cleaner solution: $x =~ s/^foo.*?\n//mg; The '$' and the 's' option are not needed. Thanks. Indy Singh IndigoSTAR Software -- www.indigostar.com ----- Original Message ----- From: "Emil Janev" To: Cc: "Indy Singh" Sent: Tuesday, November 06, 2007 1:55 PM Subject: Re: [tpm] Regex question > Hi Indy, > > Instead of: > > while ($x =~ s//(^|$)foo.*?\n//gs) {1;} > > I tried: > > $x =~ s/(^|$)foo.*?\n//mgs; > > and it gives the same result. > > Regards, > Emil > > On Nov 6, 2007 1:39 PM, Indy Singh wrote: >> Hello all, >> >> I have some multiline data as shown below. I want to remove all >> occurances of 'foo.*?' that are at the beginning of a line. How can >> I >> do that witha regex. I can do it with a while loop, but is a there a >> more elegent way with a single regex? Perhaps using some look ahead >> or >> look behind assertion. >> >> >> $x='foo one >> foo two >> other foo three >> more stuff >> '; >> print "x=$x"; >> while ($x =~ s//(^|$)foo.*?\n//gs) {1;} >> print "x=$x"; >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org >> http://mail.pm.org/mailman/listinfo/toronto-pm > > > -- > Emil Janev From uri at stemsystems.com Tue Nov 6 11:30:41 2007 From: uri at stemsystems.com (Uri Guttman) Date: Tue, 06 Nov 2007 14:30:41 -0500 Subject: [tpm] Regex question In-Reply-To: (Emil Janev's message of "Tue, 6 Nov 2007 13:55:44 -0500") References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> Message-ID: >>>>> "EJ" == Emil Janev writes: EJ> Hi Indy, EJ> Instead of: EJ> while ($x =~ s//(^|$)foo.*?\n//gs) {1;} EJ> I tried: EJ> $x =~ s/(^|$)foo.*?\n//mgs; the /s is bad there as it makes . match newline so that could run over a line. even if it works, it is misleading as you don't want . to match newline. i don't know what the (^|$) is for. $ at the beginning of a regex makes no sense and ^ will always match as it has /m set and there are lines. so the |$ should never even be hit. my version (untested) is this: s/^foo.*$//mg; uri -- Uri Guttman ------ uri at stemsystems.com -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org From dsong at meta-for.org Tue Nov 6 11:31:50 2007 From: dsong at meta-for.org (Daniel Son) Date: Tue, 06 Nov 2007 14:31:50 -0500 Subject: [tpm] Regex question In-Reply-To: <5ae001c820ab$3dfe46b0$6600a8c0@roadhog> References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> <4730BFB0.8090404@meta-for.org> <5ae001c820ab$3dfe46b0$6600a8c0@roadhog> Message-ID: <4730C126.3010403@meta-for.org> Sorry, the reply went not to the group, but as personal response. In this one: $x =~ s/^foo.*\n?//gm; the last ? will ensure that the last line will be matched if there is no new line -- http://www.meta-for.org - Open Source software catalog Indy Singh wrote: > Why do I need the last '?' character. It seems to work without it. > > Indy Singh > IndigoSTAR Software -- www.indigostar.com > > > ----- Original Message ----- From: "Daniel Son" > To: "Indy Singh" > Sent: Tuesday, November 06, 2007 2:25 PM > Subject: Re: [tpm] Regex question > > >> Try >> $x =~ s/^foo.*\n?//gm; >> >> >> >> -- >> http://www.meta-for.org - Open Source software catalog >> >> >> >> Indy Singh wrote: >>> Hello all, >>> >>> I have some multiline data as shown below. I want to remove all >>> occurances of 'foo.*?' that are at the beginning of a line. How can >>> I do that witha regex. I can do it with a while loop, but is a >>> there a more elegent way with a single regex? Perhaps using some >>> look ahead or look behind assertion. >>> >>> >>> $x='foo one >>> foo two >>> other foo three >>> more stuff >>> '; >>> print "x=$x"; >>> while ($x =~ s//(^|$)foo.*?\n//gs) {1;} >>> print "x=$x"; >>> >>> >>> >>> >>> >>> _______________________________________________ >>> toronto-pm mailing list >>> toronto-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/toronto-pm >>> > From uri at stemsystems.com Tue Nov 6 11:38:37 2007 From: uri at stemsystems.com (Uri Guttman) Date: Tue, 06 Nov 2007 14:38:37 -0500 Subject: [tpm] Regex question In-Reply-To: <4730C126.3010403@meta-for.org> (Daniel Son's message of "Tue, 06 Nov 2007 14:31:50 -0500") References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> <4730BFB0.8090404@meta-for.org> <5ae001c820ab$3dfe46b0$6600a8c0@roadhog> <4730C126.3010403@meta-for.org> Message-ID: >>>>> "DS" == Daniel Son writes: DS> Sorry, the reply went not to the group, but as personal response. In DS> this one: DS> $x =~ s/^foo.*\n?//gm; DS> the last ? will ensure that the last line will be matched if there is no DS> new line that is what $ does already. $ matches a newline or the end of the string. and with /m it matches internal newlines. uri -- Uri Guttman ------ uri at stemsystems.com -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org From dsong at meta-for.org Tue Nov 6 11:47:02 2007 From: dsong at meta-for.org (Daniel Son) Date: Tue, 06 Nov 2007 14:47:02 -0500 Subject: [tpm] Regex question In-Reply-To: References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> <4730BFB0.8090404@meta-for.org> <5ae001c820ab$3dfe46b0$6600a8c0@roadhog> <4730C126.3010403@meta-for.org> Message-ID: <4730C4B6.5090009@meta-for.org> [...] > DS> $x =~ s/^foo.*\n?//gm; > > DS> the last ? will ensure that the last line will be matched if there is no > DS> new line > > that is what $ does already. $ matches a newline or the end of the > string. and with /m it matches internal newlines. > The problem is that in /m mode it doesn't match the newline character itself. > uri > > D -- http://www.meta-for.org - Open Source software catalog From indy at indigostar.com Tue Nov 6 11:53:54 2007 From: indy at indigostar.com (Indy Singh) Date: Tue, 6 Nov 2007 14:53:54 -0500 Subject: [tpm] Regex question References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog><4730BFB0.8090404@meta-for.org> <5ae001c820ab$3dfe46b0$6600a8c0@roadhog><4730C126.3010403@meta-for.org> Message-ID: <5b5501c820ae$c2e9f510$6600a8c0@roadhog> > my version (untested) is this: > s/^foo.*$//mg; The problem is that this leaves a \n behind on each line. I want to remove the complete line. So here is my latest attempt, which seems to pass all the cases that I care about including one at the end without a terminating new line. $x =~ s/^foo.*?(\n|$)//mg; # TEST SCRIPT $x='foo one foo two other foo three foo again more stuff foo last'; print "x=$x\n"; $x =~ s/^foo.*?(\n|$)//mg; print "x=$x\n"; Indy Singh IndigoSTAR Software -- www.indigostar.com ----- Original Message ----- From: "Uri Guttman" To: "Emil Janev" Cc: Sent: Tuesday, November 06, 2007 2:30 PM Subject: Re: [tpm] Regex question >>>>>> "EJ" == Emil Janev writes: > > EJ> Hi Indy, > EJ> Instead of: > > EJ> while ($x =~ s//(^|$)foo.*?\n//gs) {1;} > > EJ> I tried: > > EJ> $x =~ s/(^|$)foo.*?\n//mgs; > > the /s is bad there as it makes . match newline so that could run over > a > line. even if it works, it is misleading as you don't want . to match > newline. > > i don't know what the (^|$) is for. $ at the beginning of a regex > makes > no sense and ^ will always match as it has /m set and there are > lines. so the |$ should never even be hit. > > my version (untested) is this: > > s/^foo.*$//mg; > > uri > > -- > Uri Guttman ------ uri at stemsystems.com -------- > http://www.stemsystems.com > --Perl Consulting, Stem Development, Systems Architecture, Design and > Coding- > Search or Offer Perl Jobs ---------------------------- > http://jobs.perl.org > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From liam at holoweb.net Tue Nov 6 11:24:13 2007 From: liam at holoweb.net (Liam R E Quin) Date: Tue, 06 Nov 2007 14:24:13 -0500 Subject: [tpm] Regex question In-Reply-To: <014001c820a4$63fba260$6600a8c0@roadhog> References: <60987.74.12.147.111.1194276252.squirrel@webmail.vex.net> <014001c820a4$63fba260$6600a8c0@roadhog> Message-ID: <1194377053.4317.24.camel@dell.barefootcomputing.com> On Tue, 2007-11-06 at 13:39 -0500, Indy Singh wrote: > Hello all, > > I have some multiline data as shown below. I want to remove all > occurances of 'foo.*?' that are at the beginning of a line. How can I > do that witha regex. I can do it with a while loop, but is a there a > more elegent way with a single regex? $x =~ s/^foo.*?//gm; The m modifier means to treat the string as having multiple lines, so that ^ matches the start of a line. The g (global) means to do it everywhere in the input. You can also write this as, $x =~ s{^foo.*?}{}gm; and, for more complex expressions, $x =~ s{ ^ # start of line foo # first three letters of foot .*? # this will match the rest of the line }{}gmx; Note that ^foo.* will match the same as ^foo.*? here, because the . can't match a newline without the /s flag. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org www.advogato.org From bu352 at hotmail.com Mon Nov 12 16:56:26 2007 From: bu352 at hotmail.com (Business Student) Date: Mon, 12 Nov 2007 19:56:26 -0500 Subject: [tpm] online survey Message-ID: HelloI am doing a research project for one of my university courses and wouldreally appreciate if everyone could please take a moment to go to thelink listed below and complete the survey (its only 10 short questionsand all feedback is greatly appreciated!!) Thank you very much! _________________________________________________________________ R U Ready for Windows Live Messenger Beta 8.5? Try it today! http://entertainment.sympatico.msn.ca/WindowsLiveMessenger -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071112/d4d6f4a1/attachment.html From bu352 at hotmail.com Mon Nov 12 17:04:43 2007 From: bu352 at hotmail.com (Business Student) Date: Mon, 12 Nov 2007 20:04:43 -0500 Subject: [tpm] online survey In-Reply-To: References: Message-ID: Sorry,, here is the link http://www.surveymonkey.com/s.aspx?sm=Dni5jkpsYKqfx7ohiGtb1eclNU1Brnvar2YzyF9uZsE%3d From: bu352 at hotmail.comTo: tpm at to.pm.orgDate: Mon, 12 Nov 2007 19:56:26 -0500Subject: [tpm] online survey HelloI am doing a research project for one of my university courses and wouldreally appreciate if everyone could please take a moment to go to thelink listed below and complete the survey (its only 10 short questionsand all feedback is greatly appreciated!!) Thank you very much! R U Ready for Windows Live Messenger Beta 8.5? Try it today! _________________________________________________________________ R U Ready for Windows Live Messenger Beta 8.5? Try it today! http://entertainment.sympatico.msn.ca/WindowsLiveMessenger -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071112/a5c67cf3/attachment.html From gulban at sickkids.ca Fri Nov 16 11:06:36 2007 From: gulban at sickkids.ca (Omid Gulban) Date: Fri, 16 Nov 2007 14:06:36 -0500 Subject: [tpm] Computer question Message-ID: <001501c82883$d5384280$1ecf148e@tds40643> Hello All, I am planning to get a new computer at work and the following are the specs Intel core 2 Duo 2.4 Ghz with 3G RAM. will perl work with this machine. Thanks Omid -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071116/2ad620a4/attachment.html From talexb at gmail.com Fri Nov 16 11:37:20 2007 From: talexb at gmail.com (Alex Beamish) Date: Fri, 16 Nov 2007 14:37:20 -0500 Subject: [tpm] Computer question In-Reply-To: <001501c82883$d5384280$1ecf148e@tds40643> References: <001501c82883$d5384280$1ecf148e@tds40643> Message-ID: On Nov 16, 2007 2:06 PM, Omid Gulban wrote: > Hello All, > > I am planning to get a new computer at work and the following are the > specs > > Intel core 2 Duo 2.4 Ghz with 3G RAM. > > will perl work with this machine. > The answer is yes, if we assume that this powerful machine will be running an operating system that Perl has been built for. Is this machine going to be a server or a workstation? What operating system options do you have? -- Alex Beamish Toronto, Ontario aka talexb -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071116/8b8ec773/attachment.html From fulko.hew at gmail.com Fri Nov 16 13:08:41 2007 From: fulko.hew at gmail.com (Fulko Hew) Date: Fri, 16 Nov 2007 16:08:41 -0500 Subject: [tpm] Computer question In-Reply-To: <001501c82883$d5384280$1ecf148e@tds40643> References: <001501c82883$d5384280$1ecf148e@tds40643> Message-ID: <8204a4fe0711161308q49ff6bc0l817b0ff071a11157@mail.gmail.com> On Nov 16, 2007 2:06 PM, Omid Gulban wrote: > I am planning to get a new computer at work and the following are the > specs > > Intel core 2 Duo 2.4 Ghz with 3G RAM. > > will perl work with this machine. > Its _way_ better than what I've been using over the years! :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071116/60c63ea0/attachment.html From janes.rob at gmail.com Fri Nov 16 13:51:57 2007 From: janes.rob at gmail.com (Rob Janes) Date: Fri, 16 Nov 2007 16:51:57 -0500 Subject: [tpm] Computer question In-Reply-To: <8204a4fe0711161308q49ff6bc0l817b0ff071a11157@mail.gmail.com> References: <001501c82883$d5384280$1ecf148e@tds40643> <8204a4fe0711161308q49ff6bc0l817b0ff071a11157@mail.gmail.com> Message-ID: <473E10FD.6040505@gmail.com> linux on perl is a no brainer, here's windows links: the standard bearer (might cost): http://www.activestate.com/Products/activeperl/ hackers perl (free): http://cygwin.com/cgi-bin2/package-grep.cgi?grep=perl if you install all of cygwin, you'll even get a bash shell, awk, x-windows and lots of cpan perl stuff, making your windows act very much like a linux box. perl even runs on a router (wrt54g linksys) with 32meg of ram: http://forum.openwrt.org/viewtopic.php?id=4122 the router will apparently host nagios, perl web cgis, etc. suffice to say, perl will run on your machine regardless of the os. -rob Fulko Hew wrote: > > On Nov 16, 2007 2:06 PM, Omid Gulban > wrote: > > > I am planning to get a new computer at work and the following are > the specs > > Intel core 2 Duo 2.4 Ghz with 3G RAM. > > will perl work with this machine. > > > Its _way_ better than what I've been using over the years! :-) > > > > ------------------------------------------------------------------------ > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From fulko.hew at gmail.com Tue Nov 20 09:15:54 2007 From: fulko.hew at gmail.com (Fulko Hew) Date: Tue, 20 Nov 2007 12:15:54 -0500 Subject: [tpm] web transaction tester Message-ID: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> Can someone remember and tell me what the product was that captured and re-played web browser transactions (that we saw as an aside during a meeting about a year ago)? From talexb at gmail.com Tue Nov 20 09:26:51 2007 From: talexb at gmail.com (Alex Beamish) Date: Tue, 20 Nov 2007 12:26:51 -0500 Subject: [tpm] web transaction tester In-Reply-To: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> Message-ID: On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > Can someone remember and tell me what the product > was that captured and re-played web browser transactions > (that we saw as an aside during a meeting about a year ago)? I wasn't there, but HTTP::Recorder strikes me as a likely candidate. -- Alex Beamish Toronto, Ontario aka talexb -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071120/707b59db/attachment.html From olaf at vilerichard.com Tue Nov 20 09:30:46 2007 From: olaf at vilerichard.com (Olaf Alders) Date: Tue, 20 Nov 2007 12:30:46 -0500 Subject: [tpm] web transaction tester In-Reply-To: References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> Message-ID: <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > Can someone remember and tell me what the product > was that captured and re-played web browser transactions > (that we saw as an aside during a meeting about a year ago)? > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. It might have been Selenium? http://www.openqa.org/selenium-ide/ Olaf -- Olaf Alders olaf at vilerichard.com http://www.vilerichard.com -- folk rock http://cdbaby.com/cd/vilerichard From cbrandt at buffalo.edu Tue Nov 20 09:41:10 2007 From: cbrandt at buffalo.edu (Jim Brandt) Date: Tue, 20 Nov 2007 12:41:10 -0500 Subject: [tpm] web transaction tester In-Reply-To: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> Message-ID: <47431C36.3010302@buffalo.edu> I stumbled across this recently too: http://www.webinject.org/ Haven't tried it yet, though. Fulko Hew wrote: > Can someone remember and tell me what the product > was that captured and re-played web browser transactions > (that we saw as an aside during a meeting about a year ago)? > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Jim Brandt Administrative Computing Services University at Buffalo From janes.rob at gmail.com Tue Nov 20 10:39:35 2007 From: janes.rob at gmail.com (Rob Janes) Date: Tue, 20 Nov 2007 13:39:35 -0500 Subject: [tpm] web transaction tester In-Reply-To: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> Message-ID: <474329E7.8040806@gmail.com> I've used JMeter, but it's java not perl. http://jakarta.apache.org/jmeter/ You run jmeter from the command line and then setup your browser to use the jmeter instance as an http proxy. jmeter will build a complete test script record of your browsing, which you can then edit and tweak. I used it to build some simple http scripts which I used to benchmark and basically hammer a server, since jmeter will replay the test scripts with as many threads as your machine can handle, for as many repetitions as you like. -rob Fulko Hew wrote: > Can someone remember and tell me what the product > was that captured and re-played web browser transactions > (that we saw as an aside during a meeting about a year ago)? > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > From adam.prime at utoronto.ca Tue Nov 20 11:13:59 2007 From: adam.prime at utoronto.ca (adam.prime at utoronto.ca) Date: Tue, 20 Nov 2007 14:13:59 -0500 Subject: [tpm] web transaction tester In-Reply-To: <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> Message-ID: <20071120141359.ft2sqtollwwgwss0@webmail.utoronto.ca> There was a lightning talk last year about Selenium, so i think this is probably what Fulko's talking about. Adam Quoting Olaf Alders : > > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > >> On Nov 20, 2007 12:15 PM, Fulko Hew wrote: >> Can someone remember and tell me what the product >> was that captured and re-played web browser transactions >> (that we saw as an aside during a meeting about a year ago)? >> >> I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > > It might have been Selenium? > > http://www.openqa.org/selenium-ide/ > > > Olaf > -- > Olaf Alders > olaf at vilerichard.com > > http://www.vilerichard.com -- folk rock > http://cdbaby.com/cd/vilerichard > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > From zerhash at gmail.com Tue Nov 20 12:45:20 2007 From: zerhash at gmail.com (jason richmond) Date: Tue, 20 Nov 2007 15:45:20 -0500 Subject: [tpm] toronto-pm Digest, Vol 8, Issue 10 In-Reply-To: References: Message-ID: <3fe19be60711201245q6fbf943jf64e92b0e030ee66@mail.gmail.com> when and where is the next meeting? i may be able to check it out On Nov 20, 2007 3:00 PM, wrote: > Send toronto-pm mailing list submissions to > toronto-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.pm.org/mailman/listinfo/toronto-pm > or, via email, send a message with subject or body 'help' to > toronto-pm-request at pm.org > > You can reach the person managing the list at > toronto-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of toronto-pm digest..." > > > Today's Topics: > > 1. web transaction tester (Fulko Hew) > 2. Re: web transaction tester (Alex Beamish) > 3. Re: web transaction tester (Olaf Alders) > 4. Re: web transaction tester (Jim Brandt) > 5. Re: web transaction tester (Rob Janes) > 6. Re: web transaction tester (adam.prime at utoronto.ca) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 20 Nov 2007 12:15:54 -0500 > From: "Fulko Hew" > Subject: [tpm] web transaction tester > To: tpm at to.pm.org > Message-ID: > <8204a4fe0711200915y105df58emca7f601bfcdbb520 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Can someone remember and tell me what the product > was that captured and re-played web browser transactions > (that we saw as an aside during a meeting about a year ago)? > > > ------------------------------ > > Message: 2 > Date: Tue, 20 Nov 2007 12:26:51 -0500 > From: "Alex Beamish" > Subject: Re: [tpm] web transaction tester > To: tpm > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > -- > Alex Beamish > Toronto, Ontario > aka talexb > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20071120/707b59db/attachment.htm > > ------------------------------ > > Message: 3 > Date: Tue, 20 Nov 2007 12:30:46 -0500 > From: Olaf Alders > Subject: Re: [tpm] web transaction tester > Cc: tpm > Message-ID: <6F1DE0BC-A780-4277-8C6A-AEF74370A577 at vilerichard.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > > It might have been Selenium? > > http://www.openqa.org/selenium-ide/ > > > Olaf > -- > Olaf Alders > olaf at vilerichard.com > > http://www.vilerichard.com -- folk rock > http://cdbaby.com/cd/vilerichard > > > > > ------------------------------ > > Message: 4 > Date: Tue, 20 Nov 2007 12:41:10 -0500 > From: Jim Brandt > Subject: Re: [tpm] web transaction tester > To: Fulko Hew > Cc: tpm at to.pm.org > Message-ID: <47431C36.3010302 at buffalo.edu> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I stumbled across this recently too: > > http://www.webinject.org/ > > Haven't tried it yet, though. > > > Fulko Hew wrote: > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > _______________________________________________ > > toronto-pm mailing list > > toronto-pm at pm.org > > http://mail.pm.org/mailman/listinfo/toronto-pm > > -- > Jim Brandt > Administrative Computing Services > University at Buffalo > > > > ------------------------------ > > Message: 5 > Date: Tue, 20 Nov 2007 13:39:35 -0500 > From: Rob Janes > Subject: Re: [tpm] web transaction tester > To: tpm at to.pm.org > Message-ID: <474329E7.8040806 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I've used JMeter, but it's java not perl. > > http://jakarta.apache.org/jmeter/ > > You run jmeter from the command line and then setup your browser to use > the jmeter instance as an http proxy. > > jmeter will build a complete test script record of your browsing, which > you can then edit and tweak. > > I used it to build some simple http scripts which I used to benchmark > and basically hammer a server, since jmeter will replay the test scripts > with as many threads as your machine can handle, for as many repetitions > as you like. > > -rob > > Fulko Hew wrote: > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > _______________________________________________ > > toronto-pm mailing list > > toronto-pm at pm.org > > http://mail.pm.org/mailman/listinfo/toronto-pm > > > > > > ------------------------------ > > Message: 6 > Date: Tue, 20 Nov 2007 14:13:59 -0500 > From: adam.prime at utoronto.ca > Subject: Re: [tpm] web transaction tester > To: toronto-pm at pm.org > Message-ID: <20071120141359.ft2sqtollwwgwss0 at webmail.utoronto.ca> > Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > format="flowed" > > There was a lightning talk last year about Selenium, so i think this > is probably what Fulko's talking about. > > Adam > > Quoting Olaf Alders : > > > > > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > > >> On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > >> Can someone remember and tell me what the product > >> was that captured and re-played web browser transactions > >> (that we saw as an aside during a meeting about a year ago)? > >> > >> I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > > > > > It might have been Selenium? > > > > http://www.openqa.org/selenium-ide/ > > > > > > Olaf > > -- > > Olaf Alders > > olaf at vilerichard.com > > > > http://www.vilerichard.com -- folk rock > > http://cdbaby.com/cd/vilerichard > > > > > > _______________________________________________ > > 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 > > > End of toronto-pm Digest, Vol 8, Issue 10 > ***************************************** > From magog at the-wire.com Tue Nov 20 12:58:18 2007 From: magog at the-wire.com (Michael Graham) Date: Tue, 20 Nov 2007 15:58:18 -0500 Subject: [tpm] toronto-pm Digest, Vol 8, Issue 10 In-Reply-To: <3fe19be60711201245q6fbf943jf64e92b0e030ee66@mail.gmail.com> References: <3fe19be60711201245q6fbf943jf64e92b0e030ee66@mail.gmail.com> Message-ID: <20071120155818.29a4f7c2@caliope> Hey Jason, The next meeting will be on Thurs Nov 29. The plan is to have it at the usual place (2 Bloor Street West, in one of their classrooms (exact classroom TBA). At the moment we haven't got a topic or a speaker so it may be a social meeting. Michael On Tue, 20 Nov 2007 15:45:20 -0500 "jason richmond" wrote: > when and where is the next meeting? i may be able to check it out > > On Nov 20, 2007 3:00 PM, wrote: > > Send toronto-pm mailing list submissions to > > toronto-pm at pm.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.pm.org/mailman/listinfo/toronto-pm > > or, via email, send a message with subject or body 'help' to > > toronto-pm-request at pm.org > > > > You can reach the person managing the list at > > toronto-pm-owner at pm.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of toronto-pm digest..." > > > > > > Today's Topics: > > > > 1. web transaction tester (Fulko Hew) > > 2. Re: web transaction tester (Alex Beamish) > > 3. Re: web transaction tester (Olaf Alders) > > 4. Re: web transaction tester (Jim Brandt) > > 5. Re: web transaction tester (Rob Janes) > > 6. Re: web transaction tester (adam.prime at utoronto.ca) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Tue, 20 Nov 2007 12:15:54 -0500 > > From: "Fulko Hew" > > Subject: [tpm] web transaction tester > > To: tpm at to.pm.org > > Message-ID: > > <8204a4fe0711200915y105df58emca7f601bfcdbb520 at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > > > > > ------------------------------ > > > > Message: 2 > > Date: Tue, 20 Nov 2007 12:26:51 -0500 > > From: "Alex Beamish" > > Subject: Re: [tpm] web transaction tester > > To: tpm > > Message-ID: > > > > Content-Type: text/plain; charset="iso-8859-1" > > > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > > > > Can someone remember and tell me what the product > > > was that captured and re-played web browser transactions > > > (that we saw as an aside during a meeting about a year ago)? > > > > > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > > > -- > > Alex Beamish > > Toronto, Ontario > > aka talexb > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://mail.pm.org/pipermail/toronto-pm/attachments/20071120/707b59db/attachment.htm > > > > ------------------------------ > > > > Message: 3 > > Date: Tue, 20 Nov 2007 12:30:46 -0500 > > From: Olaf Alders > > Subject: Re: [tpm] web transaction tester > > Cc: tpm > > Message-ID: <6F1DE0BC-A780-4277-8C6A-AEF74370A577 at vilerichard.com> > > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > > > > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > > > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > > Can someone remember and tell me what the product > > > was that captured and re-played web browser transactions > > > (that we saw as an aside during a meeting about a year ago)? > > > > > > I wasn't there, but HTTP::Recorder strikes me as a likely > > > candidate. > > > > > > It might have been Selenium? > > > > http://www.openqa.org/selenium-ide/ > > > > > > Olaf > > -- > > Olaf Alders > > olaf at vilerichard.com > > > > http://www.vilerichard.com -- folk rock > > http://cdbaby.com/cd/vilerichard > > > > > > > > > > ------------------------------ > > > > Message: 4 > > Date: Tue, 20 Nov 2007 12:41:10 -0500 > > From: Jim Brandt > > Subject: Re: [tpm] web transaction tester > > To: Fulko Hew > > Cc: tpm at to.pm.org > > Message-ID: <47431C36.3010302 at buffalo.edu> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > I stumbled across this recently too: > > > > http://www.webinject.org/ > > > > Haven't tried it yet, though. > > > > > > Fulko Hew wrote: > > > Can someone remember and tell me what the product > > > was that captured and re-played web browser transactions > > > (that we saw as an aside during a meeting about a year ago)? > > > _______________________________________________ > > > toronto-pm mailing list > > > toronto-pm at pm.org > > > http://mail.pm.org/mailman/listinfo/toronto-pm > > > > -- > > Jim Brandt > > Administrative Computing Services > > University at Buffalo > > > > > > > > ------------------------------ > > > > Message: 5 > > Date: Tue, 20 Nov 2007 13:39:35 -0500 > > From: Rob Janes > > Subject: Re: [tpm] web transaction tester > > To: tpm at to.pm.org > > Message-ID: <474329E7.8040806 at gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > I've used JMeter, but it's java not perl. > > > > http://jakarta.apache.org/jmeter/ > > > > You run jmeter from the command line and then setup your browser to > > use the jmeter instance as an http proxy. > > > > jmeter will build a complete test script record of your browsing, > > which you can then edit and tweak. > > > > I used it to build some simple http scripts which I used to > > benchmark and basically hammer a server, since jmeter will replay > > the test scripts with as many threads as your machine can handle, > > for as many repetitions as you like. > > > > -rob > > > > Fulko Hew wrote: > > > Can someone remember and tell me what the product > > > was that captured and re-played web browser transactions > > > (that we saw as an aside during a meeting about a year ago)? > > > _______________________________________________ > > > toronto-pm mailing list > > > toronto-pm at pm.org > > > http://mail.pm.org/mailman/listinfo/toronto-pm > > > > > > > > > > > ------------------------------ > > > > Message: 6 > > Date: Tue, 20 Nov 2007 14:13:59 -0500 > > From: adam.prime at utoronto.ca > > Subject: Re: [tpm] web transaction tester > > To: toronto-pm at pm.org > > Message-ID: <20071120141359.ft2sqtollwwgwss0 at webmail.utoronto.ca> > > Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > > format="flowed" > > > > There was a lightning talk last year about Selenium, so i think this > > is probably what Fulko's talking about. > > > > Adam > > > > Quoting Olaf Alders : > > > > > > > > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > > > > >> On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > >> Can someone remember and tell me what the product > > >> was that captured and re-played web browser transactions > > >> (that we saw as an aside during a meeting about a year ago)? > > >> > > >> I wasn't there, but HTTP::Recorder strikes me as a likely > > >> candidate. > > > > > > > > > It might have been Selenium? > > > > > > http://www.openqa.org/selenium-ide/ > > > > > > > > > Olaf > > > -- > > > Olaf Alders > > > olaf at vilerichard.com > > > > > > http://www.vilerichard.com -- folk rock > > > http://cdbaby.com/cd/vilerichard > > > > > > > > > _______________________________________________ > > > 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 > > > > > > End of toronto-pm Digest, Vol 8, Issue 10 > > ***************************************** > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -- Michael Graham From Henry.Baragar at instantiated.ca Tue Nov 20 15:10:50 2007 From: Henry.Baragar at instantiated.ca (Henry Baragar) Date: Tue, 20 Nov 2007 18:10:50 -0500 Subject: [tpm] web transaction tester In-Reply-To: <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> Message-ID: <200711201810.50413.Henry.Baragar@instantiated.ca> On Tuesday, November 20 2007 12:30 pm, Olaf Alders wrote: > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > It might have been Selenium? > > http://www.openqa.org/selenium-ide/ > > We definitely had a Selenium 10 lightning talk (or something) about a year ago. Henry > Olaf > -- > Olaf Alders > olaf at vilerichard.com > > http://www.vilerichard.com -- folk rock > http://cdbaby.com/cd/vilerichard > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From Henry.Baragar at instantiated.ca Tue Nov 20 15:10:50 2007 From: Henry.Baragar at instantiated.ca (Henry Baragar) Date: Tue, 20 Nov 2007 18:10:50 -0500 Subject: [tpm] web transaction tester In-Reply-To: <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> Message-ID: <200711201810.50413.Henry.Baragar@instantiated.ca> On Tuesday, November 20 2007 12:30 pm, Olaf Alders wrote: > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > It might have been Selenium? > > http://www.openqa.org/selenium-ide/ > > We definitely had a Selenium 10 lightning talk (or something) about a year ago. Henry > Olaf > -- > Olaf Alders > olaf at vilerichard.com > > http://www.vilerichard.com -- folk rock > http://cdbaby.com/cd/vilerichard > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From fulko.hew at gmail.com Wed Nov 21 02:07:56 2007 From: fulko.hew at gmail.com (Fulko Hew) Date: Wed, 21 Nov 2007 05:07:56 -0500 Subject: [tpm] web transaction tester In-Reply-To: <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> References: <8204a4fe0711200915y105df58emca7f601bfcdbb520@mail.gmail.com> <6F1DE0BC-A780-4277-8C6A-AEF74370A577@vilerichard.com> Message-ID: <8204a4fe0711210207j3e79616cn43e163093d03218e@mail.gmail.com> On Nov 20, 2007 12:30 PM, Olaf Alders wrote: > > On 20-Nov-07, at 12:26 PM, Alex Beamish wrote: > > > On Nov 20, 2007 12:15 PM, Fulko Hew wrote: > > Can someone remember and tell me what the product > > was that captured and re-played web browser transactions > > (that we saw as an aside during a meeting about a year ago)? > > > > I wasn't there, but HTTP::Recorder strikes me as a likely candidate. > > > It might have been Selenium? > > http://www.openqa.org/selenium-ide/ Yes, thats the one. Thanks, I'm at the other side of the world right now, and things are hard to remember when your in another time zone :-) From magog at the-wire.com Tue Nov 27 12:15:52 2007 From: magog at the-wire.com (Michael Graham) Date: Tue, 27 Nov 2007 15:15:52 -0500 Subject: [tpm] November Meeting - Thu 29 Nov, 2007 - our @topics = (); Message-ID: <20071127151552.39fe226d@caliope> (These details are also on the TPM web site: http://to.pm.org/) The next meeting is this Thursday, 29 November. Like the subject says, our @topics = (); So come out to the meeting and help push, unshift and splice all manner of Perl-related things to the @topics array. Or just come for the beer afterwards. Date: Thursday 29 Nov 2007 Time: 6:45pm Where: 2 Bloor Street West (NW corner of Yonge/Bloor, skyscraper with the CIBC logo on top) Classroom 11 on the 8th floor =================================================================== Note: The elevators in the building are "locked down" after 5:30pm to people without building access cards. Leading up to the meeting someone will come down to the main floor lobby every few minutes to ferry people upstairs. After 19:00, you can reach the access-card-carrying guy via a cell phone number that we'll leave with security in the front lobby. The room and floor numbers will be left with security too. -- Michael Graham From arocker at vex.net Fri Nov 30 13:03:10 2007 From: arocker at vex.net (arocker at vex.net) Date: Fri, 30 Nov 2007 16:03:10 -0500 (EST) Subject: [tpm] A testing misadventure Message-ID: <54182.216.13.71.74.1196456590.squirrel@webmail.vex.net> A relevant story, with local connections: http://edp.org/monkey.htm Those of you interested in optimisation, (you know who you are), be sure to follow the link to "the story of Mel". From arocker at vex.net Fri Nov 30 07:12:32 2007 From: arocker at vex.net (arocker at vex.net) Date: Fri, 30 Nov 2007 10:12:32 -0500 (EST) Subject: [tpm] Job-hunting Message-ID: <60606.74.12.143.195.1196435552.squirrel@webmail.vex.net> As I mentioned at last night's meeting, Perlmongers looking for jobs may be amused by this week of "Userfriendly" strips, starting with: http://ars.userfriendly.org/cartoons/?id=20071123