From mark at dreamzpace.com Sun Nov 10 03:54:33 2002 From: mark at dreamzpace.com (Mark Pors) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] meeting Message-ID: <3DCE2CD9.2070000@dreamzpace.com> Hi all, Alexanders script indicates a new meeting is coming up: http://athens.pm.org/index.prl Wednesday 13 November at 20:00 Any suggestions for a location? What about eating something together? Mark From mark at dreamzpace.com Wed Nov 13 02:40:00 2002 From: mark at dreamzpace.com (Mark Pors) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] [Fwd: [pm_groups] ANNOUNCE: YAPC::Europe 2003 venue] Message-ID: <3DD20FE0.9050605@dreamzpace.com> FYI -------- Original Message -------- Subject: [pm_groups] ANNOUNCE: YAPC::Europe 2003 venue Date: Wed, 13 Nov 2002 09:09:57 +0100 From: Norbert Gruener Organization: YAPC::Europe Committee To: pm_groups@pm.org Nomination of YAPC::Europe Committee ------------------------------------ The President of YAS, Kevin Lenzo has named an internal committee which will deal with all matters concerning YAPC::Europe conferences. He has nominated members of each European YAPC to be on this committee: Leon Brocard and Greg McCarroll from London, Ann Barcomb from Amsterdam, Richard Foley and Norbert Gruener from Munich. Norbert Gruener has been appointed as the chair of this YAPC::Europe committee. Announcement of YAPC::Europe 2003 Venue --------------------------------------- The YAPC::Europe committee take great pleasure in announcing that Paris has been chosen as the venue for the YAPC::Europe 2003 conference. Philippe Bruhat and the Paris Perl Mongers team have put together a fine case, for the next YAPC::Europe in Paris. They are close to deciding on a suitable venue, already have several eager sponsors in the background, and have begun to resolve a number of the myriad other issues which a YAPC conference demands. They have, of course, our full support. We wish them every success, and look forward to attending in Paris. Norbert Gruener Chair "YAPC::Europe" Committee -- _______________________________________________ pm_groups mailing list pm_groups@pm.org http://www.pm.org/mailman/listinfo/pm_groups From mark at dreamzpace.com Wed Nov 13 02:55:22 2002 From: mark at dreamzpace.com (Mark Pors) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] meeting References: <3DCE2CD9.2070000@dreamzpace.com> Message-ID: <3DD2137A.3060706@dreamzpace.com> What an overwhelming response :-) Anyway, I'll suggest something then: IPPOPOTAMOS Delfon St. (near Skoufa, Kolonaki) There's some other nice places near. We'll see were we end up. If you have problems finding it, please call me: 0946718563 Please confirm if you'll come. Cheers Mark Mark Pors wrote: > Hi all, > > Alexanders script indicates a new meeting is coming up: > http://athens.pm.org/index.prl > > Wednesday 13 November at 20:00 > > Any suggestions for a location? What about eating something together? > > Mark > > > _______________________________________________ > Athens-pm mailing list > Athens-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/athens-pm > > From gepiti at internet.gr Thu Nov 14 00:37:53 2002 From: gepiti at internet.gr (Giorgos Epitidios) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] Perl oddities References: <3DCE2CD9.2070000@dreamzpace.com> <3DD2137A.3060706@dreamzpace.com> <001d01c28af9$9d02ee60$3413a8c0@forthnet.gr> <3DD229E1.8070500@dreamzpace.com> Message-ID: <000801c28ba8$74b3c420$3413a8c0@forthnet.gr> Good morning everybody. Yesterday I spoke about not being able to have one foreach loop inside another. That was wrong. What you cannot do is play with the $_ variable inside a loop (if you want to keep your array elements intact). See the following example: sub func { $_ = 100; } my @array = (1,2,3); print "before calling func\n"; foreach ( @array ) { print "$_\n"; } print "calling func inside loop\n"; foreach ( @array ) { print "$_\n"; func; } print "after calling func\n"; foreach ( @array ) { print "$_\n"; } What you get by running it is: before calling func 1 2 3 calling func inside loop 1 2 3 after calling func 100 100 100 As someone mentioned in the comp.lang.perl forum: Little known features of foreach. The iteration variable used in the foreach is not a copy, but in fact an alias to the value, in this case $_. Thus, when you change it you change the value in the array. So actually $_ IS each element of the array. This means that &func changes the array elements. Hope that is of interest to someone. Giorgos Epitidios P.S. My mistakes make me wiser From gepiti at internet.gr Thu Nov 14 00:39:58 2002 From: gepiti at internet.gr (Giorgos Epitidios) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] Perl lessons in Greek References: <3DCE2CD9.2070000@dreamzpace.com> <3DD2137A.3060706@dreamzpace.com> <001d01c28af9$9d02ee60$3413a8c0@forthnet.gr> <3DD229E1.8070500@dreamzpace.com> Message-ID: <001301c28ba8$bec14920$3413a8c0@forthnet.gr> http://www.eeei.gr/perl/index.htm All corrections and\or additions welcome. Giorgos Epitidios From mark at dreamzpace.com Thu Nov 14 04:06:57 2002 From: mark at dreamzpace.com (Mark Pors) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] Perl oddities In-Reply-To: <3DCE2CD9.2070000@dreamzpace.com> References: <3DCE2CD9.2070000@dreamzpace.com> <3DD2137A.3060706@dreamzpace.com> <001d01c28af9$9d02ee60$3413a8c0@forthnet.gr> <3DD229E1.8070500@dreamzpace.com> <000801c28ba8$74b3c420$3413a8c0@forthnet.gr> Message-ID: <3DD375C1.4080806@dreamzpace.com> Giorgos Epitidios wrote: >Good morning everybody. Yesterday I spoke about not being able to have one >foreach loop inside another. That was wrong. What you cannot do is play >with the $_ variable inside a loop (if you want to keep your array elements >intact). See the following example: > >sub func { > $_ = 100; >} > > >my @array = (1,2,3); > >print "before calling func\n"; >foreach ( @array ) { > print "$_\n"; >} >print "calling func inside loop\n"; >foreach ( @array ) { > print "$_\n"; > func; >} >print "after calling func\n"; >foreach ( @array ) { > print "$_\n"; >} > >What you get by running it is: > >before calling func >1 >2 >3 >calling func inside loop >1 >2 >3 >after calling func >100 >100 >100 > >As someone mentioned in the comp.lang.perl forum: > > Little known features of foreach. The iteration variable used > in the foreach is not a copy, but in fact an alias to the value, > in this case $_. Thus, when you change it you change the value > in the array. > >So actually $_ IS each element of the array. This means that &func changes >the array elements. > >Hope that is of interest to someone. > > >Giorgos Epitidios > >P.S. My mistakes make me wiser > > :-) this is why I do: foreach $arr_value ( @array ) It's not as perly as foreach ( @array ), but a bit more clear (and safe) Mark > >_______________________________________________ >Athens-pm mailing list >Athens-pm@mail.pm.org >http://mail.pm.org/mailman/listinfo/athens-pm > > > > From pjlees at ics.forth.gr Thu Nov 14 05:37:23 2002 From: pjlees at ics.forth.gr (Philip Lees) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] Perl oddities In-Reply-To: <3DD375C1.4080806@dreamzpace.com> Message-ID: <000901c28bd2$333c5460$44be5b8b@ics.forth.gr> Giorgos Epitidios wrote: >So actually $_ IS each element of the array. This means that &func >changes the array elements. This can be very useful. It means that you can do things like: s/Giorgos/Philip/ foreach @array; to modify array elements in place. It's features like this that help make Perl so powerful. Philip -- Philip Lees Working Group on Cardiology ICS-FORTH, Science and Technology Park of Crete Vassilika Vouton, P.O. Box 1385, GR 711 10 Heraklion, Crete, GREECE tel.: +30-810-391680, fax: +30-810-391601, e-mail: pjlees@ics.forth.gr 'The aim of high technology should be to simplify, not complicate' - Hans Christian von Baeyer From nacos at eureka.edu.gr Thu Nov 14 19:40:30 2002 From: nacos at eureka.edu.gr (Michael K. Nacos) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] Perl oddities In-Reply-To: <000901c28bd2$333c5460$44be5b8b@ics.forth.gr> References: <3DD375C1.4080806@dreamzpace.com> <000901c28bd2$333c5460$44be5b8b@ics.forth.gr> Message-ID: <20021115014029.GA1446@eureka.edu.gr> > Giorgos Epitidios wrote: > > >So actually $_ IS each element of the array. This means that &func > >changes the array elements. > > This can be very useful. It means that you can do things like: > > s/Giorgos/Philip/ foreach @array; looks like our mailing list has finally sprung into action! i'm very impressed, guys, let's keep it up. thanks Giorgo for bringing this up, I tend to program on the safe side, too, so I'd never have found out if it wasn't for you. my scripts will be even smaller now! :-) as far as the irc goes, it's just an irc channel which means it will only be used if people join it from time to time ;-) perhaps we could have virtual meetings, too, so that people such as Philip (hi!) who don't live in Athens may have their say, too. the name of the channel is #athens-pm-org on irc.gr. I know it's not the most user-friendly channel name out there but #perl was registered two years ago (!) by someone by the nick of panXer. [dear panXer, if you're listening please send us a line] that's it for now. Giorgo thanks for the notes. Michael ps. i have finally brought together a small perl class, so people watch out! the numbers of perl programmers in Greece is about to rise! From nacos at eureka.edu.gr Thu Nov 14 19:46:12 2002 From: nacos at eureka.edu.gr (Michael K. Nacos) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] test Message-ID: <20021115014612.GA1603@eureka.edu.gr> sorry just one of those tests please ignore From karjala at karjala.org Fri Nov 15 02:49:36 2002 From: karjala at karjala.org (Alexander Karelas) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] IRC Channel In-Reply-To: <20021115014029.GA1446@eureka.edu.gr> References: <3DD375C1.4080806@dreamzpace.com> <000901c28bd2$333c5460$44be5b8b@ics.forth.gr> <20021115014029.GA1446@eureka.edu.gr> Message-ID: <20021115084936.GB22000@karjala.org> > the name of the channel is #athens-pm-org on irc.gr. I know it's not the most user-friendly channel name out there but #perl was registered two years ago (!) by someone by the nick of panXer. [dear panXer, if you're listening please send us a line] I know panXer. I think he is known on #linux on irc.gr. I'll check him up. From nacos at eureka.edu.gr Fri Nov 15 04:17:37 2002 From: nacos at eureka.edu.gr (Michael K. Nacos) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] elektronika Message-ID: <20021115101737.GA1614@eureka.edu.gr> i'm always the last to know but here's a link to an expo which features wi-fi equipment for wireless networks http://www.elektronika.gr 15-18 Νοεμβρίου cheers From pjlees at ics.forth.gr Fri Nov 15 07:27:37 2002 From: pjlees at ics.forth.gr (Philip Lees) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] Perl oddities In-Reply-To: <20021115014029.GA1446@eureka.edu.gr> Message-ID: <003701c28caa$c4423f00$44be5b8b@ics.forth.gr> Hi back to Michael and all of you. Just for fun, try and get your heads around this: my $fubar = "0"; if( print $fubar and $fubar ? $fubar : $fubar++ ){ print " seriously FUBAR\n"; }else{ print " becomes $fubar\n"; } Note that the same variable functions as a string, a boolean and a number - all within one line of code. Ain't Perl wonderful? Philip -- Philip Lees Working Group on Cardiology ICS-FORTH, Science and Technology Park of Crete Vassilika Vouton, P.O. Box 1385, GR 711 10 Heraklion, Crete, GREECE tel.: +30-810-391680, fax: +30-810-391601, e-mail: pjlees@ics.forth.gr 'The aim of high technology should be to simplify, not complicate' - Hans Christian von Baeyer From mark at dreamzpace.com Fri Nov 15 13:28:53 2002 From: mark at dreamzpace.com (Mark Pors) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] #perl Message-ID: <3DD54AF5.3070804@dreamzpace.com> Hi, Thanx to the efforts of Michael and the generosity of panXer we can chat in #perl (on irc.gr) now! So get a nick and join #perl if you like. To increase our chances a bit of meeting each other, we thought of scheduling virtual meetings as well. Shall we do those weekly to start with? Any preferenece for a day and time? Topic for the first meeting???? Mark From nacos at eureka.edu.gr Thu Nov 21 16:47:10 2002 From: nacos at eureka.edu.gr (Michael K. Nacos) Date: Mon Aug 2 21:22:57 2004 Subject: [Athens-pm] irc - #perl tutorial Message-ID: <20021121224710.GA2587@eureka.edu.gr> please have a look at http://athens.pm.org/irc.html i've put together a few lines on the basics of irc for our meetings. it's not a general or complete introduction, the aim is to help people unfamiliar with the process to connect to an irc.gr server and join #perl for a discussion. please send comments and suggestions. Michael