From abe at deuxchevaux.org Tue Oct 2 02:28:05 2012 From: abe at deuxchevaux.org (Axel Beckert) Date: Tue, 2 Oct 2012 11:28:05 +0200 Subject: [Zurich-pm] Was passiert intern, wenn man Perl mit einem Verzeichnis als einzigen Parameter aufruft? Message-ID: <20121002092805.GY5515@sym.noone.org> Hi, wir sind heute bei der Kombination von Test Driven Development und Autotools auf einen interessanten Fall gestossen: Aus einem Testfile (d.h. aus einem der Files t/*.t): system_ok('perl', '../projektname', [...]) (Das ".." wird von den autotools als Pfad eingesetzt.) Je nachdem, auf welcher Ebene das dann aufgerufen wird (./bla.t oder t/bla.t) ist '../projektname' das zu testende Skript oder eben das Basisverzeichnis des Projektes. Interessanterweise schl?gt der Test in letzterem Fall _nicht_ fehl. Genauso wie das hier: ~ ? perl /tmp ~ ? echo $? 0 ~ ? Kann mir jemand erkl?ren, was dabei bei Perl intern abgeht? "man 1 perlrun" bzw. "perldoc perlrun" half mir genausowenig wie "perl -Dltcpfrxu /tmp" bzw. auf Debian "debugperl -Dltcpfrxu /tmp". Wo finde ich Doku dazu? Gruss, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From c.hauser at itassistance.ch Tue Oct 2 02:28:33 2012 From: c.hauser at itassistance.ch (c.hauser at itassistance.ch) Date: Tue, 2 Oct 2012 11:28:33 +0200 Subject: [Zurich-pm] Honeypot Message-ID: <89a02b56749f4a9296cc5390a61850fc@55e2d8c62a9c4b8d8d5043dcad362df6> EN: Please contact the person you wanted to reach by phone, send a post mail letter or use another email address you may know. DE: Bitte kontaktieren sie die Person welche sie erreichen wollten per Telefon, per Postbrief oder nutzten sie eine andere ihnen bekannte Email Adresse. From abe at deuxchevaux.org Tue Oct 2 04:58:43 2012 From: abe at deuxchevaux.org (Axel Beckert) Date: Tue, 2 Oct 2012 13:58:43 +0200 Subject: [Zurich-pm] Nachtrag: Was passiert intern, wenn man Perl mit einem Verzeichnis als einzigen Parameter aufruft? In-Reply-To: <20121002092805.GY5515@sym.noone.org> References: <20121002092805.GY5515@sym.noone.org> Message-ID: <20121002115843.GZ5515@sym.noone.org> Hi nochmal, On Tue, Oct 02, 2012 at 11:28:05AM +0200, Axel Beckert wrote: > wir sind heute bei der Kombination von Test Driven Development und > Autotools auf einen interessanten Fall gestossen: Aus einem Testfile > (d.h. aus einem der Files t/*.t): > > system_ok('perl', '../projektname', [...]) > > (Das ".." wird von den autotools als Pfad eingesetzt.) > > Je nachdem, auf welcher Ebene das dann aufgerufen wird (./bla.t oder > t/bla.t) ist '../projektname' das zu testende Skript oder eben das > Basisverzeichnis des Projektes. > > Interessanterweise schl?gt der Test in letzterem Fall _nicht_ fehl. > Genauso wie das hier: > > ~ ? perl /tmp > ~ ? echo $? > 0 > ~ ? > > Kann mir jemand erkl?ren, was dabei bei Perl intern abgeht? strace half ein wenig: read(3, 0x20ecfe0, 8192) = -1 EISDIR (Is a directory) Auf #debian-perl kam als Kommentar dann noch ein "yeah, it feels wrong", deswegen habe ich dann mal einen "minor" Bug-Report bei Debian geschrieben: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689412 Gruss, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From paul at pjcj.net Tue Oct 2 05:39:14 2012 From: paul at pjcj.net (Paul Johnson) Date: Tue, 2 Oct 2012 14:39:14 +0200 Subject: [Zurich-pm] Nachtrag: Was passiert intern, wenn man Perl mit einem Verzeichnis als einzigen Parameter aufruft? In-Reply-To: <20121002115843.GZ5515@sym.noone.org> References: <20121002092805.GY5515@sym.noone.org> <20121002115843.GZ5515@sym.noone.org> Message-ID: <20121002123914.GO9160@pjcj.net> On Tue, Oct 02, 2012 at 01:58:43PM +0200, Axel Beckert wrote: > Hi nochmal, > > On Tue, Oct 02, 2012 at 11:28:05AM +0200, Axel Beckert wrote: > > wir sind heute bei der Kombination von Test Driven Development und > > Autotools auf einen interessanten Fall gestossen: Aus einem Testfile > > (d.h. aus einem der Files t/*.t): > > > > system_ok('perl', '../projektname', [...]) > > > > (Das ".." wird von den autotools als Pfad eingesetzt.) > > > > Je nachdem, auf welcher Ebene das dann aufgerufen wird (./bla.t oder > > t/bla.t) ist '../projektname' das zu testende Skript oder eben das > > Basisverzeichnis des Projektes. > > > > Interessanterweise schl?gt der Test in letzterem Fall _nicht_ fehl. > > Genauso wie das hier: > > > > ~ ? perl /tmp > > ~ ? echo $? > > 0 > > ~ ? > > > > Kann mir jemand erkl?ren, was dabei bei Perl intern abgeht? > > strace half ein wenig: > > read(3, 0x20ecfe0, 8192) = -1 EISDIR (Is a directory) > > Auf #debian-perl kam als Kommentar dann noch ein "yeah, it feels > wrong", deswegen habe ich dann mal einen "minor" Bug-Report bei Debian > geschrieben: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689412 > > Gruss, Axel Ruby and python both give an error message, neither of which is particularly inspiring, I think, and more importantly each returns 1. If you, or debian, care to provide a patch I'm sure it will be accepted. I believe there's already at least one perl bug open around this area. If neither of you are in a position to provide a patch I may be able to find time to do it, but it's probably worth while making sure that the bug gets into perl's own bug tracker anyway, or if it's already there then giving it a bump couldn't hurt. -- Paul Johnson - paul at pjcj.net http://www.pjcj.net From paul at pjcj.net Tue Oct 2 06:33:41 2012 From: paul at pjcj.net (Paul Johnson) Date: Tue, 2 Oct 2012 15:33:41 +0200 Subject: [Zurich-pm] Nachtrag: Was passiert intern, wenn man Perl mit einem Verzeichnis als einzigen Parameter aufruft? In-Reply-To: <20121002123914.GO9160@pjcj.net> References: <20121002092805.GY5515@sym.noone.org> <20121002115843.GZ5515@sym.noone.org> <20121002123914.GO9160@pjcj.net> Message-ID: <20121002133341.GP9160@pjcj.net> On Tue, Oct 02, 2012 at 02:39:14PM +0200, Paul Johnson wrote: > On Tue, Oct 02, 2012 at 01:58:43PM +0200, Axel Beckert wrote: > > Hi nochmal, > > > > On Tue, Oct 02, 2012 at 11:28:05AM +0200, Axel Beckert wrote: > > > wir sind heute bei der Kombination von Test Driven Development und > > > Autotools auf einen interessanten Fall gestossen: Aus einem Testfile > > > (d.h. aus einem der Files t/*.t): > > > > > > system_ok('perl', '../projektname', [...]) > > > > > > (Das ".." wird von den autotools als Pfad eingesetzt.) > > > > > > Je nachdem, auf welcher Ebene das dann aufgerufen wird (./bla.t oder > > > t/bla.t) ist '../projektname' das zu testende Skript oder eben das > > > Basisverzeichnis des Projektes. > > > > > > Interessanterweise schl?gt der Test in letzterem Fall _nicht_ fehl. > > > Genauso wie das hier: > > > > > > ~ ? perl /tmp > > > ~ ? echo $? > > > 0 > > > ~ ? > > > > > > Kann mir jemand erkl?ren, was dabei bei Perl intern abgeht? > > > > strace half ein wenig: > > > > read(3, 0x20ecfe0, 8192) = -1 EISDIR (Is a directory) > > > > Auf #debian-perl kam als Kommentar dann noch ein "yeah, it feels > > wrong", deswegen habe ich dann mal einen "minor" Bug-Report bei Debian > > geschrieben: > > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689412 > > > > Gruss, Axel > > Ruby and python both give an error message, neither of which is > particularly inspiring, I think, and more importantly each returns 1. > > If you, or debian, care to provide a patch I'm sure it will be accepted. > I believe there's already at least one perl bug open around this area. > > If neither of you are in a position to provide a patch I may be able to > find time to do it, but it's probably worth while making sure that the > bug gets into perl's own bug tracker anyway, or if it's already there > then giving it a bump couldn't hurt. Looks like Dom has done just that: https://rt.perl.org/rt3//Public/Bug/Display.html?id=61362 -- Paul Johnson - paul at pjcj.net http://www.pjcj.net From abe at deuxchevaux.org Tue Oct 2 06:38:20 2012 From: abe at deuxchevaux.org (Axel Beckert) Date: Tue, 2 Oct 2012 15:38:20 +0200 Subject: [Zurich-pm] Nachtrag: Was passiert intern, wenn man Perl mit einem Verzeichnis als einzigen Parameter aufruft? In-Reply-To: <20121002123914.GO9160@pjcj.net> References: <20121002092805.GY5515@sym.noone.org> <20121002115843.GZ5515@sym.noone.org> <20121002123914.GO9160@pjcj.net> Message-ID: <20121002133820.GB5515@sym.noone.org> Hi Paul, thanks for the feedback. On Tue, Oct 02, 2012 at 02:39:14PM +0200, Paul Johnson wrote: > Ruby and python both give an error message, neither of which is > particularly inspiring, I think, and more importantly each returns 1. Good point and a good sanity check. :-) > If you, or debian, care to provide a patch I'm sure it will be accepted. > I believe there's already at least one perl bug open around this area. Found it: https://rt.perl.org/rt3/Public/Bug/Display.html?id=61362 -- and my Debian bug report is already cited there. :-) > If neither of you are in a position to provide a patch I may be able to > find time to do it, but it's probably worth while making sure that the > bug gets into perl's own bug tracker anyway, or if it's already there > then giving it a bump couldn't hurt. Well, I must admit, that issue scratches me not enough to dig into Perl's C code, but scratched me enough to document it. :-) Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From stsc at refcnt.org Tue Oct 23 06:03:35 2012 From: stsc at refcnt.org (Steven Schubiger) Date: Tue, 23 Oct 2012 15:03:35 +0200 Subject: [Zurich-pm] Fwd: [German-pm] 15. Deutscher Perl-Workshop 2013 - Call for Papers Message-ID: <20121023130335.GA6102@refcnt.org> ----- Forwarded message from Tina M?ller ----- Date: Sun, 21 Oct 2012 14:10:58 +0200 (CEST) From: Tina M?ller To: berlin-pm at pm.org, hamburg at pm.org, frankfurt-pm at pm.org, german-pm at pm.org Subject: [German-pm] 15. Deutscher Perl-Workshop 2013 - Call for Papers Hallo, Vom 13.03.2013 bis 15.03.2013 (Mittwoch bis Freitag) findet der 15. Deutsche Perl-Workshop im Betahaus in Berlin statt. Zielgruppe des Workshops sind alle ernsthaften Perl-Anwender und die, die es werden wollen. Unser Workshop steht und f?llt mit den Vortr?gen. ?blicherweise sind Vortr?ge 5, 20 oder 40 Minuten lang. Alle Themen, die in irgendeiner Weise mit Perl oder dem Perl-Umfeld zu tun haben, k?nnen als Vortr?ge f?r den Workshop interessant sein. Deinen Vorschlag reichst Du bitte bis sp?testens Donnerstag, den 13.12.2012 als Abstract auf der Webseite http://act.yapc.eu/gpw2013 ein. Du kannst nat?rlich gerne auch mehrere Themen vorschlagen. Dein Abstract sollte in rund 2000 Zeichen (das sind ca. 30 Zeilen a 72 Spalten) das Thema beschreiben, was besonders an Deinem Ansatz ist und weshalb Perl als Sprache in diesem Fall besonders n?tzlich ist. Solltest Du noch Fragen haben oder Anregungen f?r Vortragsthemen suchen, schaue bitte in den FAQ nach. Der Deutsche Perl-Workshop wird seit 1999 j?hrlich ausgerichtet und wandert seit 2004 durch Deutschland. Durchschnittlich 100 Personen nehmen am Workshop teil. In diesem Jahr wird der Workshop von den Berliner Perlmongers organisiert. Die Perlmongergruppe geh?rt zu den gr??ten und aktivsten in Deutschland. An jedem letzten Mittwoch des Monats treffen wir uns an wechselnden Orten. Mehr Infos gibt es auf Twitter unter https://twitter.com/BerlinPM und unter http://www.perlmongers.de/?BerlinPM. _______________________________________________ German-pm mailing list: German-pm at pm.org http://mail.pm.org/mailman/listinfo/german-pm http://perlmongers.de/ ----- End forwarded message ----- From maro.proj at gmail.com Tue Oct 23 22:07:32 2012 From: maro.proj at gmail.com (=?utf-8?B?VGhlIE1hcm8gUHJvamVjdA==?=) Date: Wed, 24 Oct 2012 07:07:32 +0200 Subject: [Zurich-pm] =?utf-8?q?Antw=2E=3A_Zurich-pm_Digest=2C_Vol_30=2C_Is?= =?utf-8?q?sue_2?= Message-ID: <50877797.2354b40a.5cd6.ffffa3f2@mx.google.com> aqA AGesendet mit meinem HTC ----- Reply message ----- Von: zurich-pm-request at pm.org An: Betreff: Zurich-pm Digest, Vol 30, Issue 2 Datum: Di., Okt. 23, 2012 21:00 Send Zurich-pm mailing list submissions to zurich-pm at pm.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.pm.org/mailman/listinfo/zurich-pm or, via email, send a message with subject or body 'help' to zurich-pm-request at pm.org You can reach the person managing the list at zurich-pm-owner at pm.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Zurich-pm digest..."