From oleber at gmail.com Tue Dec 1 03:38:36 2009 From: oleber at gmail.com (marcos rebelo) Date: Tue, 1 Dec 2009 12:38:36 +0100 Subject: [Milan-pm] perl monger meeting in december In-Reply-To: <319d96980911270043p7b355daat9e91d28da5a4e7f8@mail.gmail.com> References: <4c4b91ff0911261105w4e5e125fp6f3d78a135cebf99@mail.gmail.com> <319d96980911270043p7b355daat9e91d28da5a4e7f8@mail.gmail.com> Message-ID: <319d96980912010338n293bfe08tb2c0d1497df21844@mail.gmail.com> On Fri, Nov 27, 2009 at 9:43 AM, marcos rebelo wrote: > 2009/11/26 Giulio Bertani : >> Hello to all, >> i want to get as soon as possible the date of "december perl monger >> meeting". >> I will start to say to the students the next lesson so they can organize to >> come. >> >> It's impossible for us? come on Monday and Wednesday. >> >> I think it'better the middle week of the month ... so I propose on 15,17 >> ,18. >> >> >> Thank to all >> Giulio >> >> -- >> Giulio Bertani >> www.perquelliche.it (In definizione ...) >> >> _______________________________________________ >> Milan-pm mailing list >> Milan-pm at pm.org >> http://mail.pm.org/mailman/listinfo/milan-pm >> >> > > For me it is OK, anyone disagrees in using this week? > > > -- > Marcos Rebelo > http://oleber.freehostia.com > Milan Perl Mongers leader http://milan.pm.org > Hi all Let's chose the Date for the December's Monthlly meeting in: http://www.doodle.com/zmu23dwys2948gdc Best Regards Marcos Rebelo -- Marcos Rebelo http://oleber.freehostia.com Milan Perl Mongers leader http://milan.pm.org From minimal.oasis+milan-pm at gmail.com Wed Dec 2 10:07:19 2009 From: minimal.oasis+milan-pm at gmail.com (Max M) Date: Wed, 2 Dec 2009 19:07:19 +0100 Subject: [Milan-pm] Perl bug? Message-ID: <3f9c3baf0912021007q7915e1f5m9fd661c8e1676bc3@mail.gmail.com> Trying to fix a strange behaviour in a script of mine, I found out something very much resembling a bug. The following code dies (either under perl 5.10 or 5.8). "a" =~ /./; # [1] if ( not "" =~ // ) { die "bug????" } If line [1] is commented out, it no longer dies. Max From hakim.cassimally at gmail.com Wed Dec 2 10:13:54 2009 From: hakim.cassimally at gmail.com (Hakim Cassimally) Date: Wed, 2 Dec 2009 18:13:54 +0000 Subject: [Milan-pm] Perl bug? In-Reply-To: <3f9c3baf0912021007q7915e1f5m9fd661c8e1676bc3@mail.gmail.com> References: <3f9c3baf0912021007q7915e1f5m9fd661c8e1676bc3@mail.gmail.com> Message-ID: <82cfa8030912021013r4aa62538l2d2ca6e5f7cabcb4@mail.gmail.com> 2009/12/2 Max M : > Trying to fix a strange behaviour in a script of mine, I found out > something very much resembling a bug. > > The following code dies (either under perl 5.10 or 5.8). > > ? ? ? ?"a" =~ /./; ? # [1] > > ? ? ? ?if ( not ?"" =~ // ) { > ? ? ? ? ? ?die "bug????" > ? ? ? ?} > > If line [1] is commented out, it no longer dies. It's not a bug (though arguably it's a misfeature...) // matches the last pattern matched (I can't see where this is documented though... perldoc perlre ?) osfameron From minimal.oasis+milan-pm at gmail.com Wed Dec 2 16:52:28 2009 From: minimal.oasis+milan-pm at gmail.com (Max M) Date: Thu, 3 Dec 2009 01:52:28 +0100 Subject: [Milan-pm] Perl bug? In-Reply-To: <82cfa8030912021013r4aa62538l2d2ca6e5f7cabcb4@mail.gmail.com> References: <3f9c3baf0912021007q7915e1f5m9fd661c8e1676bc3@mail.gmail.com> <82cfa8030912021013r4aa62538l2d2ca6e5f7cabcb4@mail.gmail.com> Message-ID: <3f9c3baf0912021652m76839678g7bc869523322e181@mail.gmail.com> On Wed, Dec 2, 2009 at 19:13, Hakim Cassimally wrote: > It's not a bug (though arguably it's a misfeature...) > > // matches the last pattern matched Ah, ok. Thank you. > (I can't see where this is documented though... perldoc perlre ?) It's discussed in perlop. Max From oha at oha.it Thu Dec 3 04:00:17 2009 From: oha at oha.it (Oha) Date: Thu, 03 Dec 2009 13:00:17 +0100 Subject: [Milan-pm] Perl bug? Message-ID: <200912031200.nB3C0ICF002971@vivaldi49.register.it> >It's not a bug (though arguably it's a misfeature...) > > // matches the last pattern matched documented or not, that isn't true with split // btw, in perl5.10 // become an operator... Oha From paola.bisignano at gmail.com Fri Dec 11 02:42:07 2009 From: paola.bisignano at gmail.com (Paola Bisignano) Date: Fri, 11 Dec 2009 11:42:07 +0100 Subject: [Milan-pm] dovrei ultimare il mio codice Message-ID: scusate ragazzi, mi sono bloccata da un p? su questo problema....e non riesco a venirne a capo....mi servirebbe per ultimare il mio codice e levarmi dallo stress del mio capo... :-) qualcuno potrebbe aiutarmi??? ho un file tipo questo: index: 33 alignment's position: 15 index: 55 alignment's position: 23 per ogni position (es 15) devo risalire all'index (33) cercare a chi corrisponde index in un altro file fatto cos? A 623(Lys) vdW 33 A 644(Leu) vdW 55 e devo salvare Lys623(33) grazie a tutti From oha at oha.it Fri Dec 11 06:42:51 2009 From: oha at oha.it (Oha) Date: Fri, 11 Dec 2009 15:42:51 +0100 Subject: [Milan-pm] dovrei ultimare il mio codice Message-ID: <200912111442.nBBEgpCs028789@vivaldi18.register.it> >index: 33 alignment's position: 15 >index: 55 alignment's position: 23 > >per ogni position (es 15) devo risalire all'index (33) quindi una regexp /index: (d+) alignment's position: (d+)/ ritorna 33 e 15 nel primo caso. >cercare a chi corrisponde index in un altro file fatto cos? > >A 623(Lys) vdW 33 >A 644(Leu) vdW 55 di nuovo con una regexp puoi estrarre '623' 'Lys' e '33' quindi se prima elabori il secondo file e usi una hash per memorizzare e.g. '33' => 'Lys623' e dopo elabori il secondo dove trovi 15 e 33 puoi quindi risolvere 33 usando la hash sopra: 15 => 33 => Lys623 Oha From oleber at gmail.com Mon Dec 14 02:49:42 2009 From: oleber at gmail.com (marcos rebelo) Date: Mon, 14 Dec 2009 11:49:42 +0100 Subject: [Milan-pm] perl monger meeting in december In-Reply-To: <319d96980912010338n293bfe08tb2c0d1497df21844@mail.gmail.com> References: <4c4b91ff0911261105w4e5e125fp6f3d78a135cebf99@mail.gmail.com> <319d96980911270043p7b355daat9e91d28da5a4e7f8@mail.gmail.com> <319d96980912010338n293bfe08tb2c0d1497df21844@mail.gmail.com> Message-ID: <319d96980912140249h47ffb5a8ya9892dce2dc5254c@mail.gmail.com> The Christmas dinner will be the Thursday 17, at 20h. Giulio, How is going the course? How may persons will come? Best Regards Marcos Rebelo On Tue, Dec 1, 2009 at 12:38 PM, marcos rebelo wrote: > On Fri, Nov 27, 2009 at 9:43 AM, marcos rebelo wrote: >> 2009/11/26 Giulio Bertani : >>> Hello to all, >>> i want to get as soon as possible the date of "december perl monger >>> meeting". >>> I will start to say to the students the next lesson so they can organize to >>> come. >>> >>> It's impossible for us? come on Monday and Wednesday. >>> >>> I think it'better the middle week of the month ... so I propose on 15,17 >>> ,18. >>> >>> >>> Thank to all >>> Giulio >>> >>> -- >>> Giulio Bertani >>> www.perquelliche.it (In definizione ...) >>> >>> _______________________________________________ >>> Milan-pm mailing list >>> Milan-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/milan-pm >>> >>> >> >> For me it is OK, anyone disagrees in using this week? >> >> >> -- >> Marcos Rebelo >> http://oleber.freehostia.com >> Milan Perl Mongers leader http://milan.pm.org >> > > Hi all > > Let's chose the Date for the December's Monthlly meeting in: > http://www.doodle.com/zmu23dwys2948gdc > > Best Regards > Marcos Rebelo > > -- > Marcos Rebelo > http://oleber.freehostia.com > Milan Perl Mongers leader http://milan.pm.org > -- Marcos Rebelo http://oleber.freehostia.com Milan Perl Mongers leader http://milan.pm.org From gbjgiulio at gmail.com Tue Dec 15 00:49:40 2009 From: gbjgiulio at gmail.com (Giulio Bertani) Date: Tue, 15 Dec 2009 09:49:40 +0100 Subject: [Milan-pm] perl monger meeting in december In-Reply-To: <319d96980912140249h47ffb5a8ya9892dce2dc5254c@mail.gmail.com> References: <4c4b91ff0911261105w4e5e125fp6f3d78a135cebf99@mail.gmail.com> <319d96980911270043p7b355daat9e91d28da5a4e7f8@mail.gmail.com> <319d96980912010338n293bfe08tb2c0d1497df21844@mail.gmail.com> <319d96980912140249h47ffb5a8ya9892dce2dc5254c@mail.gmail.com> Message-ID: <4c4b91ff0912150049i5793c2e5g454b44dc906030ca@mail.gmail.com> Ciao a tutti, Ancora non sono riuscito a coinvogere nessuno del corso :-( . Io ci sar? ! Mi auguro mercoled? di riuscire a far venire qualcuno Il corso sta procedendo bene e sono molto reattivi e propositivi : purtroppo per poter analizzare nel dettaglio gli aspetti del linguaggio occorrerebbe ... il tempo di un altro corso !!! Ci vediamo Gioved? ! Ciao Giulio 2009/12/14 marcos rebelo > The Christmas dinner will be the Thursday 17, at 20h. > > Giulio, > How is going the course? > How may persons will come? > > Best Regards > Marcos Rebelo > > > On Tue, Dec 1, 2009 at 12:38 PM, marcos rebelo wrote: > > On Fri, Nov 27, 2009 at 9:43 AM, marcos rebelo wrote: > >> 2009/11/26 Giulio Bertani : > >>> Hello to all, > >>> i want to get as soon as possible the date of "december perl monger > >>> meeting". > >>> I will start to say to the students the next lesson so they can > organize to > >>> come. > >>> > >>> It's impossible for us come on Monday and Wednesday. > >>> > >>> I think it'better the middle week of the month ... so I propose on > 15,17 > >>> ,18. > >>> > >>> > >>> Thank to all > >>> Giulio > >>> > >>> -- > >>> Giulio Bertani > >>> www.perquelliche.it (In definizione ...) > >>> > >>> _______________________________________________ > >>> Milan-pm mailing list > >>> Milan-pm at pm.org > >>> http://mail.pm.org/mailman/listinfo/milan-pm > >>> > >>> > >> > >> For me it is OK, anyone disagrees in using this week? > >> > >> > >> -- > >> Marcos Rebelo > >> http://oleber.freehostia.com > >> Milan Perl Mongers leader http://milan.pm.org > >> > > > > Hi all > > > > Let's chose the Date for the December's Monthlly meeting in: > > http://www.doodle.com/zmu23dwys2948gdc > > > > Best Regards > > Marcos Rebelo > > > > -- > > Marcos Rebelo > > http://oleber.freehostia.com > > Milan Perl Mongers leader http://milan.pm.org > > > > > > -- > Marcos Rebelo > http://oleber.freehostia.com > Milan Perl Mongers leader http://milan.pm.org > _______________________________________________ > Milan-pm mailing list > Milan-pm at pm.org > http://mail.pm.org/mailman/listinfo/milan-pm > -- Giulio Bertani www.perquelliche.it (In definizione ...) -------------- next part -------------- An HTML attachment was scrubbed... URL: From casati_gianluca at yahoo.it Wed Dec 30 09:04:05 2009 From: casati_gianluca at yahoo.it (Gianluca Casati) Date: Wed, 30 Dec 2009 17:04:05 +0000 (GMT) Subject: [Milan-pm] perl vs python Message-ID: <993438.31755.qm@web27907.mail.ukl.yahoo.com> Ciao, qualcuno saprebbe dirmi come tradurre questo codice Perl perl -le "print for perl .. python" in Python? ( in meno di 10 righe di codice :) -------------- next part -------------- An HTML attachment was scrubbed... URL: