From tim at retout.co.uk Tue Sep 2 12:47:12 2014 From: tim at retout.co.uk (Tim Retout) Date: Tue, 2 Sep 2014 20:47:12 +0100 Subject: [Southampton-pm] September meeting Message-ID: Hi all, Perl Mongers meeting tomorrow! Platform Tavern, 8pm. Kind regards, Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From duncan.garland at ntlworld.com Thu Sep 4 02:24:53 2014 From: duncan.garland at ntlworld.com (GARLAND DUNCAN) Date: Thu, 4 Sep 2014 10:24:53 +0100 Subject: [Southampton-pm] Devel::REPL Message-ID: Following on from our discussion yesterday, here a bit of typical too-early-in-the-morning typing: motrak at upde-duncang:~$ repl $ for (my $x=0;$x<10;$x==){ > print "$x\n"; > } Compile error: syntax error at (eval 845) line 5, near "==)" BEGIN not safe after errors--compilation aborted at (eval 845) line 7. $ #edit #edit opens an empty file with a temporay name, in this case ./tmp/9FjWRDLe0X.pl If I re=type the code in the editor and exit, in runs: 0 1 2 3 4 5 6 7 8 9 The code block has been put into the history and can be re-run as a simple command: $ for ( my $x = 0; $x < 10; $x++ ) {^J print "$x\n";^J} 0 1 2 3 4 5 6 7 8 9 However, it can not be put back into the editor. #edit open an empty document and does not accept a filename as an argument. It re-inforces the view that Devel::REPL is quite good. No more, no less. A definate 7 out of 10. All the best. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vytdau at gmail.com Thu Sep 4 15:23:23 2014 From: vytdau at gmail.com (Vytautas D) Date: Thu, 4 Sep 2014 23:23:23 +0100 Subject: [Southampton-pm] Devel::REPL In-Reply-To: References: Message-ID: Hi Duncan, Thanks for taking your time and writing this. I knew that it makes this temporary file, but didn't know whether you can access it. Anyway, here you go, now it's possible, just replace my attached Editor.pm wherever your Devel::REPL::Plugin::Editor is ( perl -e 'use Devel::REPL::Plugin::Editor; use Data::Dumper; print Dumper(\%INC);' | grep Editor ). for old behaviour, use it the same way ( #edit ). For reusable #edit - just pass an argument ( #edit /tmp/foo.pl ). Hope it helps :) - Vytas On Thu, Sep 4, 2014 at 10:24 AM, GARLAND DUNCAN wrote: > Following on from our discussion yesterday, here a bit of typical > too-early-in-the-morning typing: > > motrak at upde-duncang:~$ repl > > $ for (my $x=0;$x<10;$x==){ > > > print "$x\n"; > > > } > Compile error: syntax error at (eval 845) line 5, near "==)" > BEGIN not safe after errors--compilation aborted at (eval 845) line 7. > > $ #edit > > #edit opens an empty file with a temporay name, in this case > ./tmp/9FjWRDLe0X.pl > > If I re=type the code in the editor and exit, in runs: > > 0 > 1 > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > > The code block has been put into the history and can be re-run as a simple > command: > > $ for ( my $x = 0; $x < 10; $x++ ) {^J print "$x\n";^J} > 0 > 1 > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > > However, it can not be put back into the editor. > > #edit open an empty document and does not accept a filename as an argument. > > It re-inforces the view that Devel::REPL is quite good. No more, no less. > A definate 7 out of 10. > > All the best. > > > _______________________________________________ > Southampton-pm mailing list > Southampton-pm at pm.org > http://mail.pm.org/mailman/listinfo/southampton-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Editor.pm Type: application/x-perl Size: 2750 bytes Desc: not available URL: From vytdau at gmail.com Thu Sep 4 15:57:15 2014 From: vytdau at gmail.com (Vytautas D) Date: Thu, 4 Sep 2014 23:57:15 +0100 Subject: [Southampton-pm] September meeting In-Reply-To: References: Message-ID: Meeting went fantastically well! we had 9 Perl hackers ! for those that missed: - YAPC::EU videos are online ( https://www.youtube.com/user/yapceu/videos ), great quality, but no lighting talks :( - your keyboard might be saving 2 MB worth of your typing ! - Tim's great Southampton.io idea! - Tim showed us an example of using DATA section, seek'ing it ( seek DATA 0 0 ) and getting your source code. This caused some discussions, but what happens at Southampton.pm, stays at Southampton.pm :P - somewhat discussed this https://groups.google.com/forum/#!topic/mojolicious/Nz1VZ7z1MFA - Discussed pumpio! - Talked about Cap'n Proto ( http://kentonv.github.io/capnproto/ ). James and Tim are writing Perl bindings for it. - Talked about -> Recruitment in Perl - The State of the Perl Recruitment Market - Rick Deller ( https://www.youtube.com/watch?v=7O9V3-lZUOI ), which lead to discuss Dave's Cross letter, which I haven't yet read. But it's on my TODO list! :)) - Talked about 'Welcome to C-Day Is Coming'. I think they took her video out of youtube, but see slide 32 in http://www.liz.nl/C-DayIsComingYAPCEU.pdf ). - Talked about Creative Perlmongership - Salve J. Nilsen (sjn) ( https://www.youtube.com/watch?v=Ar0UFsgvAcE ), can we organise a trip ? :D - and a lot more. Be there October the 1st! Finally, I would highly recommend everyone to watch - https://www.youtube.com/watch?v=pUp1mQx61No !! See you 1st of October or sooner! -Vytas btw, I am finally using twitter -> @vytasdauksa ( https://twitter.com/vytasdauksa ) -Vytas On Tue, Sep 2, 2014 at 8:47 PM, Tim Retout wrote: > Hi all, > > Perl Mongers meeting tomorrow! Platform Tavern, 8pm. > > Kind regards, > > Tim > > _______________________________________________ > Southampton-pm mailing list > Southampton-pm at pm.org > http://mail.pm.org/mailman/listinfo/southampton-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vytdau at gmail.com Tue Sep 9 00:05:04 2014 From: vytdau at gmail.com (Vytautas D) Date: Tue, 9 Sep 2014 08:05:04 +0100 Subject: [Southampton-pm] Devel::REPL In-Reply-To: References: Message-ID: Upstream accepted my patch, and yet made it even better by introducing #redit command to fix whatever typo you left in previous #edit session! Author left my way as well. So you can still pass an argument to open custom file, but that's more typing (: https://metacpan.org/pod/Devel::REPL::Plugin::Editor -Vytas On Thu, Sep 4, 2014 at 11:23 PM, Vytautas D wrote: > Hi Duncan, > > Thanks for taking your time and writing this. I knew that it makes this > temporary file, but didn't know whether you can access it. > > Anyway, here you go, now it's possible, just replace my attached Editor.pm > wherever your Devel::REPL::Plugin::Editor is ( perl -e 'use > Devel::REPL::Plugin::Editor; use Data::Dumper; print Dumper(\%INC);' | grep > Editor ). > > for old behaviour, use it the same way ( #edit ). > For reusable #edit - just pass an argument ( #edit /tmp/foo.pl ). > > Hope it helps :) > > - Vytas > > > > On Thu, Sep 4, 2014 at 10:24 AM, GARLAND DUNCAN < > duncan.garland at ntlworld.com> wrote: > >> Following on from our discussion yesterday, here a bit of typical >> too-early-in-the-morning typing: >> >> motrak at upde-duncang:~$ repl >> >> $ for (my $x=0;$x<10;$x==){ >> >> > print "$x\n"; >> >> > } >> Compile error: syntax error at (eval 845) line 5, near "==)" >> BEGIN not safe after errors--compilation aborted at (eval 845) line 7. >> >> $ #edit >> >> #edit opens an empty file with a temporay name, in this case >> ./tmp/9FjWRDLe0X.pl >> >> If I re=type the code in the editor and exit, in runs: >> >> 0 >> 1 >> 2 >> 3 >> 4 >> 5 >> 6 >> 7 >> 8 >> 9 >> >> The code block has been put into the history and can be re-run as a >> simple command: >> >> $ for ( my $x = 0; $x < 10; $x++ ) {^J print "$x\n";^J} >> 0 >> 1 >> 2 >> 3 >> 4 >> 5 >> 6 >> 7 >> 8 >> 9 >> >> However, it can not be put back into the editor. >> >> #edit open an empty document and does not accept a filename as an >> argument. >> >> It re-inforces the view that Devel::REPL is quite good. No more, no less. >> A definate 7 out of 10. >> >> All the best. >> >> >> _______________________________________________ >> Southampton-pm mailing list >> Southampton-pm at pm.org >> http://mail.pm.org/mailman/listinfo/southampton-pm >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From duncan.garland at ntlworld.com Tue Sep 9 00:30:36 2014 From: duncan.garland at ntlworld.com (GARLAND DUNCAN) Date: Tue, 9 Sep 2014 08:30:36 +0100 Subject: [Southampton-pm] Devel::REPL In-Reply-To: References: Message-ID: Well done. On 9 September 2014 08:05, Vytautas D wrote: > Upstream accepted my patch, and yet made it even better by introducing > #redit command to fix whatever typo you left in previous #edit session! > Author left my way as well. So you can still pass an argument to open > custom file, but that's more typing (: > > https://metacpan.org/pod/Devel::REPL::Plugin::Editor > > -Vytas > > On Thu, Sep 4, 2014 at 11:23 PM, Vytautas D wrote: > >> Hi Duncan, >> >> Thanks for taking your time and writing this. I knew that it makes this >> temporary file, but didn't know whether you can access it. >> >> Anyway, here you go, now it's possible, just replace my attached >> Editor.pm wherever your Devel::REPL::Plugin::Editor is ( perl -e 'use >> Devel::REPL::Plugin::Editor; use Data::Dumper; print Dumper(\%INC);' | grep >> Editor ). >> >> for old behaviour, use it the same way ( #edit ). >> For reusable #edit - just pass an argument ( #edit /tmp/foo.pl ). >> >> Hope it helps :) >> >> - Vytas >> >> >> >> On Thu, Sep 4, 2014 at 10:24 AM, GARLAND DUNCAN < >> duncan.garland at ntlworld.com> wrote: >> >>> Following on from our discussion yesterday, here a bit of typical >>> too-early-in-the-morning typing: >>> >>> motrak at upde-duncang:~$ repl >>> >>> $ for (my $x=0;$x<10;$x==){ >>> >>> > print "$x\n"; >>> >>> > } >>> Compile error: syntax error at (eval 845) line 5, near "==)" >>> BEGIN not safe after errors--compilation aborted at (eval 845) line 7. >>> >>> $ #edit >>> >>> #edit opens an empty file with a temporay name, in this case >>> ./tmp/9FjWRDLe0X.pl >>> >>> If I re=type the code in the editor and exit, in runs: >>> >>> 0 >>> 1 >>> 2 >>> 3 >>> 4 >>> 5 >>> 6 >>> 7 >>> 8 >>> 9 >>> >>> The code block has been put into the history and can be re-run as a >>> simple command: >>> >>> $ for ( my $x = 0; $x < 10; $x++ ) {^J print "$x\n";^J} >>> 0 >>> 1 >>> 2 >>> 3 >>> 4 >>> 5 >>> 6 >>> 7 >>> 8 >>> 9 >>> >>> However, it can not be put back into the editor. >>> >>> #edit open an empty document and does not accept a filename as an >>> argument. >>> >>> It re-inforces the view that Devel::REPL is quite good. No more, no >>> less. A definate 7 out of 10. >>> >>> All the best. >>> >>> >>> _______________________________________________ >>> Southampton-pm mailing list >>> Southampton-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/southampton-pm >>> >> >> > > _______________________________________________ > Southampton-pm mailing list > Southampton-pm at pm.org > http://mail.pm.org/mailman/listinfo/southampton-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at retout.co.uk Tue Sep 30 09:37:42 2014 From: tim at retout.co.uk (Tim Retout) Date: Tue, 30 Sep 2014 17:37:42 +0100 Subject: [Southampton-pm] October 2014 soton.pm meeting Message-ID: Hi all, Tomorrow night at 8pm is the next Perl mongers meeting. Lots to talk about - lately we've been doing some interesting fine-grained latency measurements on the CV-Library homepage code, and we've made more use of Toggle for releasing new features. I need to start preparing the talks I've said I'd do at the London Perl Workshop in November - has everyone signed up yet? See you there, Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: