From gooly at gmx.at Sat Jul 7 02:40:27 2007 From: gooly at gmx.at (gooly at gmx.at) Date: Sat, 7 Jul 2007 11:40:27 +0200 Subject: [Vienna-pm] or oder || ? Message-ID: <200707071140.27335.gooly@gmx.at> Hallo, und allen ein sch?nes Wochenende.. In den Tutorials zu Perl wird bei open das 'or' oder das '||' ohne erkennbaren Unterschied gehandhabt: (aus Perl/Doc/functions/open.html): open(TMP, "+>", undef) or die ... und gleich danach open($fh, '>', \$variable) || .. Bei mir ist aber nun folgendes zu beobachten: $falsch = "/homme/../$file"; jetzt ein open F, "> $falsch" || die "$!\n"; geht anstandslos durch bis ich dann (zB n?chste Zeile) auf F schreiben will: print() on closed filehandle ... aber ein open F, "> $falsch" or die "$!\n"; stirbt mit : 'Datei oder Verzeichnis nicht gefunden' Warum das? Das bei open? Beide binden links, warum der Unterschied? Calli From gooly at gmx.at Sat Jul 7 02:53:23 2007 From: gooly at gmx.at (gooly at gmx.at) Date: Sat, 7 Jul 2007 11:53:23 +0200 Subject: [Vienna-pm] or oder || ? In-Reply-To: <200707071140.27335.gooly@gmx.at> References: <200707071140.27335.gooly@gmx.at> Message-ID: <200707071153.23907.gooly@gmx.at> Am Samstag, 7. Juli 2007 schrieb gooly at gmx.at: > Hallo, > und allen ein sch?nes Wochenende.. > > In den Tutorials zu Perl wird bei open das 'or' oder das '||' ohne > erkennbaren Unterschied gehandhabt: > (aus Perl/Doc/functions/open.html): > open(TMP, "+>", undef) or die ... > und gleich danach > open($fh, '>', \$variable) || .. > > Bei mir ist aber nun folgendes zu beobachten: > $falsch = "/homme/../$file"; > jetzt ein > open F, "> $falsch" || die "$!\n"; > geht anstandslos durch bis ich dann (zB n?chste Zeile) > auf F schreiben will: > print() on closed filehandle ... > > aber ein > open F, "> $falsch" or die "$!\n"; > stirbt mit : 'Datei oder Verzeichnis nicht gefunden' > > Warum das? Das bei open? Beide binden links, warum der Unterschied? Gefunden :) || bindet st?rker und l?st so die Liste f?r open auf => Klammern h?lfe.. Calli From domm at cpan.org Sat Jul 7 02:53:14 2007 From: domm at cpan.org (Thomas Klausner) Date: Sat, 7 Jul 2007 11:53:14 +0200 Subject: [Vienna-pm] or oder || ? In-Reply-To: <200707071140.27335.gooly@gmx.at> References: <200707071140.27335.gooly@gmx.at> Message-ID: <20070707095305.GW7977@i85.chello.at> Hi! On Sat, Jul 07, 2007 at 11:40:27AM +0200, gooly at gmx.at wrote: > In den Tutorials zu Perl wird bei open das 'or' oder das '||' ohne > erkennbaren Unterschied gehandhabt: was IMO daemlich ist... > (aus Perl/Doc/functions/open.html): > open(TMP, "+>", undef) or die ... > und gleich danach > open($fh, '>', \$variable) || .. > > Bei mir ist aber nun folgendes zu beobachten: > $falsch = "/homme/../$file"; > jetzt ein > open F, "> $falsch" || die "$!\n"; > geht anstandslos durch bis ich dann (zB n?chste Zeile) > auf F schreiben will: > print() on closed filehandle ... > > aber ein > open F, "> $falsch" or die "$!\n"; > stirbt mit : 'Datei oder Verzeichnis nicht gefunden' > > Warum das? Das bei open? Beide binden links, warum der Unterschied? Die Klammern sind der Untschied. open FH,"file" || die $!; == open FH, ("file" or die $!); Meister Conway sagt zwar (Perl Best Practices, p207): open my $FH, '>', $file or die $!; Ich ziehe aber explizite Klammern und || vor: open (my $FH, '>', $file) || die $!; -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From domm at cpan.org Tue Jul 10 04:58:43 2007 From: domm at cpan.org (Thomas Klausner) Date: Tue, 10 Jul 2007 13:58:43 +0200 Subject: [Vienna-pm] YAPC auf heise.de Message-ID: <20070710115840.GQ7977@i85.chello.at> Hi! heise.de ist seit kurzem auch Sponsor der YAPC, hier gibts den dazupassenden Newsticker-Eintrag: http://www.heise.de/newsticker/meldung/92458 (wer Lust hat, kann ja im drangehaengten Forum mitstreiten, ob Perl noch zeitgemaess sei) -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From domm at cpan.org Tue Jul 10 22:59:17 2007 From: domm at cpan.org (Thomas Klausner) Date: Wed, 11 Jul 2007 07:59:17 +0200 Subject: [Vienna-pm] Ganz frisch: Perl 5 Wiki Message-ID: <20070711055917.GG7977@i85.chello.at> Hi! Schwern hat vor wenigen Tagen ein neues (bzw das neue, offizielle) Perl 5 Wiki eingerichtet: http://www.perlfoundation.org/perl5/index.cgi "Please feel free to add or modify pages -- even this one -- as you see fit. Fill this wiki with Perl 5 related content. Be Bold!" -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From rho at devc.at Tue Jul 10 23:18:39 2007 From: rho at devc.at (Robert Barta) Date: Wed, 11 Jul 2007 08:18:39 +0200 Subject: [Vienna-pm] Ganz frisch: Perl 5 Wiki In-Reply-To: <20070711055917.GG7977@i85.chello.at> References: <20070711055917.GG7977@i85.chello.at> Message-ID: <20070711061839.GA3404@mando.rho.priv.at> On Wed, Jul 11, 2007 at 07:59:17AM +0200, Thomas Klausner wrote: > Schwern hat vor wenigen Tagen ein neues (bzw das neue, offizielle) > Perl 5 Wiki eingerichtet: > > http://www.perlfoundation.org/perl5/index.cgi Apropos Perl & Wikis. Wer hat von euch dieses TWiki schon im Einsatz? Gibt's andere Perl-basierte Wiki-System zur Empfehlung? \rho From fh at laudatio.com Wed Jul 11 03:45:31 2007 From: fh at laudatio.com (Florian Helmberger) Date: Wed, 11 Jul 2007 12:45:31 +0200 Subject: [Vienna-pm] Ganz frisch: Perl 5 Wiki Message-ID: <20070711124531.4bd92je3fw6c88sc@mailv3.25th-floor.com> Quoting Robert Barta : > On Wed, Jul 11, 2007 at 07:59:17AM +0200, Thomas Klausner wrote: >> Schwern hat vor wenigen Tagen ein neues (bzw das neue, offizielle) >> Perl 5 Wiki eingerichtet: >> >> http://www.perlfoundation.org/perl5/index.cgi > > Apropos Perl & Wikis. Wer hat von euch dieses TWiki schon im Einsatz? > Gibt's andere Perl-basierte Wiki-System zur Empfehlung? Mir faellt ad hoc Socialtext (http://socialtext.com/) ein. Liebe Gruesse, Florian From maros at k-1.com Wed Jul 11 07:56:00 2007 From: maros at k-1.com (=?ISO-8859-15?Q?Maros_Koll=E1r?=) Date: Wed, 11 Jul 2007 16:56:00 +0200 Subject: [Vienna-pm] ModPerl Handler einrichten Message-ID: <4694EF80.4060408@k-1.com> Hallo! ist zwar nicht unbedingt eine Perl Frage, aber mangels Apache2 Newsgroup im Usenet frage ich mal hier. Ich m?chte einen ModPerl Handler auf einem Apache 2 Server einrichten der ALLE Requests auf ein bestimmtes Verzeichnis abarbeitet. Hier meine vereinfachte HTTPD Config: DirectoryIndex index.html DocumentRoot /usr/local/SEAS3/app/docs/ DefaultType text/html SetHandler perl-script PerlHandler Site From maros at k-1.com Wed Jul 11 08:00:07 2007 From: maros at k-1.com (=?ISO-8859-15?Q?Maros_Koll=E1r?=) Date: Wed, 11 Jul 2007 17:00:07 +0200 Subject: [Vienna-pm] ModPerl Handler einrichten Message-ID: <4694F077.5000801@k-1.com> Hallo! ist zwar nicht unbedingt eine Perl Frage, aber mangels Apache2 Newsgroup im Usenet frage ich mal hier. Ich m?chte einen ModPerl Handler auf einem Apache 2 Server einrichten der ALLE Requests auf ein bestimmtes Verzeichnis abarbeitet. Hier meine vereinfachte HTTPD Config: DirectoryIndex index.html DocumentRoot /usr/local/SEAS3/app/docs/ DefaultType text/html SetHandler perl-script PerlHandler Site *OUPS, zu fr?h verschickt* Die URL http://localhost/test/list wird vom Handler bearbeitet. Sobald jedoch ein einziger Punkt in der URL vorkommt kriege ich nur ein 404 zur?ck: http://localhost/test/3.html oder auch http://localhost/test.3/list Die und Konfigurationsanweisung scheint da auch nicht zu helfen. Beste Gr??e Maro? From domm at cpan.org Wed Jul 11 09:22:16 2007 From: domm at cpan.org (Thomas Klausner) Date: Wed, 11 Jul 2007 18:22:16 +0200 Subject: [Vienna-pm] ModPerl Handler einrichten In-Reply-To: <4694F077.5000801@k-1.com> References: <4694F077.5000801@k-1.com> Message-ID: <20070711162215.GB4581@i85.chello.at> Hi! On Wed, Jul 11, 2007 at 05:00:07PM +0200, Maros Koll?r wrote: > > SetHandler perl-script > PerlHandler Site > Liegts vielleicht daran: http://perl.apache.org/docs/2.0/user/porting/compat.html#C_PerlHandler_ PerlHandler was replaced with PerlResponseHandler. -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From domm at cpan.org Wed Jul 11 11:18:20 2007 From: domm at cpan.org (Thomas Klausner) Date: Wed, 11 Jul 2007 20:18:20 +0200 Subject: [Vienna-pm] Fwd: YAPC::Europe Update Message-ID: <20070711181818.GC4562@i85.chello.at> ----- Forwarded message from Thomas Klausner ----- From: Thomas Klausner Subject: [Conferences] YAPC::Europe Update Date: Wed, 11 Jul 2007 20:13:26 +0200 To: conferences at yapceurope.org Hi! As we've been a bit lax with sending out updates to you, here's a quick update on recent happenings regarding YAPC::Europe 2007 The schedule is still not done (this is *hard* work), but in the meantime you check out this page: http://vienna.yapceurope.org/ye2007/talks In fact, we are busy working on it at this moment and expect the schedule to be ready in a few days maximum. We welcome our new sponsors VeriSign and heise online: VeriSign, Inc. (NASDAQ: VRSN) operates digital infrastructure that enables and protects billions of interactions every day across the world's voice and data networks. Every day, we process as many as 31 billion Internet interactions and support over 100 million phone calls. We offer solutions that help companies to deliver integrated marketing campaigns and mobile content across the three screens of personal computers, mobile phones, and television sets. Our solutions help organizations to deliver emerging services such as mobile banking, voice over Internet Protocol (VoIP), and video over broadband. We provide layered security solutions that protect an organization's consumers, brand, Web site, and network. Our digital certificates protect over 750,000 Web servers. heise online (www.heise.de) is the foremost German-language IT news portal. The site's "Newsticker" and forum often elicit comparisons to Slashdot. But it also features sections on i.e. security, open source, and even automobiles, attracting over 24 million visits and 160 million page impressions per month. Perl plays a huge role, being responsible for about 98% of content delivery and 85% of content creation. The programming team consists of 8 Perl developers, more are actively being sought. The site is operated by Heise Zeitschriften Verlag, publisher of the highly revered computer magazine c't. Both will also take part in the Job Fair. We also have finalised the t-shirt designs, which are very nice (or so we think...) BTW, please add your t-shirt size to your user page on the website (if you haven't got a user page yet, stop reading this email NOW, and register!!) If you haven't booked a hotel room yet, please do so. You can check out our Wiki to find where other people are staying: http://vienna.yapceurope.org/ye2007/wiki?node=WhoIsStayingWhere And/or use the services of our sponsor booking.com to find a place to stay. On a personal note, I will leave for one month of holidays in Mongolia in two days. Please do NOT send any questions you might have to my private email address, but use the official YAPC::Europe 2007 address: vienna2007 at yapceurope.org All messages sent to this address will end up in RT and can then be handled by the entire team. And finally something not YAPC::Europe related: There's now an "official" Perl 5 Wiki at http://www.perlfoundation.org/perl5/index.cgi As Schwern said: Please feel free to add or modify pages -- even this one -- as you see fit. Fill this wiki with Perl 5 related content. Be Bold! Looking forward to see you all, Thomas Klausner (who won't read any mail in the next 30 days :-) -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} _______________________________________________ Conferences mailing list Conferences at yapceurope.org http://lists.yapceurope.org/mailman/listinfo/conferences ----- End forwarded message ----- -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From michael.kroell at uibk.ac.at Fri Jul 27 23:35:03 2007 From: michael.kroell at uibk.ac.at (=?ISO-8859-1?Q?Michael_Kr=F6ll?=) Date: Sat, 28 Jul 2007 08:35:03 +0200 Subject: [Vienna-pm] [Fwd: [pm_groups] Perl survey] Message-ID: <46AAE397.4010805@uibk.ac.at> die survey braucht nur 5min... -- 063A F25E B064 A98F A479 1690 78CD D023 5E2A 6688 http://zis.uibk.ac.at/.m/uibk.ac.at_pgp_pubkey.asc -------------- next part -------------- An embedded message was scrubbed... From: =?ISO-8859-1?Q?Jos=E9_Alves_de_Castro?= Subject: [pm_groups] Perl survey Date: Fri, 27 Jul 2007 09:56:54 +0100 Size: 5081 Url: http://mail.pm.org/pipermail/vienna-pm/attachments/20070728/5169e232/attachment.eml