=head1 This Fortnight on perl5-porters - 21 June-5 July 2008 (unfinished) =head1 Topics of Interest =head2 Why C<$@> makes me cry http://xrl.us/kkynu =head2 C http://xrl.us/kkynw =head2 How to dig through symbol tables http://xrl.us/kkyny =head2 Old perls in production http://xrl.us/kkyn2 =head2 A Project to get Perl supported on Google App Engine http://xrl.us/kkyn4 =head2 Incorrect variable reported in uninitialized value warning http://xrl.us/kkyn6 =head2 Wrong version in F http://xrl.us/kkyn8 =head2 AIX Hints file (libm package) - awaiting comments http://xrl.us/kkyoa =head2 Compiling on Solaris 8 and/or Solaris 2.6 http://xrl.us/kkyoc =head2 Failure to load binary modules found via PERL5LIB for tests on Fedora Core using -T http://xrl.us/kkyoe http://xrl.us/kkyog =head2 C: wrong order of evaluation http://xrl.us/kkyoi =head2 TODO of the week: installman cachegrind profile http://xrl.us/kkyok =head2 UTF-8 smoke http://xrl.us/kkyon =head2 Split smoke for threaded C<-DDEBUGGING> builds http://xrl.us/kkyop =head2 F loses C<@INC> settings http://xrl.us/kkyor =head2 Common test code for timed bail out http://xrl.us/kkyot http://xrl.us/kkyov =head2 smartmatch and overloaded objects in blead http://xrl.us/kkyox =head2 C - a proposal http://xrl.us/kkyoz http://xrl.us/kkyo3 =head2 cygwin Config{libperl} going dynamic? http://xrl.us/kkyo5 =head2 Shared hashes fail to preserve utf-8ness of keys http://xrl.us/kkyo7 =head2 Which test files need to use the watchdog() function? http://xrl.us/kkyo9 =head2 C problems under armv5tejl-linux http://xrl.us/kkypb =head2 Some more missing Cs http://xrl.us/kkypd =head2 Control flow ops, dead code, warnings http://xrl.us/kkypf =head2 HP-UX 11.11: Your OS does not support locking http://xrl.us/kkyph =head2 Dual-lifing C http://xrl.us/kkypj http://xrl.us/kkypm =head2 C<< File::Spec-Ecase_tolerant >> works only on systems where one filesystem type is installed http://xrl.us/kkypo http://xrl.us/kkypq =head2 A long mess http://xrl.us/kkyps =head2 C http://xrl.us/kkypu =head2 Dual-life and autodie (Pumpking input appreciated) http://xrl.us/kkypw =head2 C, C http://xrl.us/kkypy =head2 Strictly no indirect object syntax? http://xrl.us/kkyp2 =head2 F fails on Fedora http://xrl.us/kkyp4 =head2 POD overhaul in C http://xrl.us/kkyp6 http://xrl.us/kkyp8 =head1 Patches of Interest =head2 C: equivalent code for HASH ~~ ARRAY http://xrl.us/kkyqa =head2 Put every pattern in F<.gitignore> files on a single line http://xrl.us/kkyqc F<.gitignore> for DynaLoader http://xrl.us/kkyqe =head2 C should be I to subclass http://xrl.us/kkyqg =head2 Fix F warning http://xrl.us/kkyqi =head2 Documentation on taint/environment interactions for F http://xrl.us/kkyqk =head2 Fix debop with pad const http://xrl.us/kkyqn =head2 More comprehensive F supersedes smobj.t http://xrl.us/kkyqp add eval and error support http://xrl.us/kkyqr add undef tests http://xrl.us/kkyqt =head2 ppd target gets ARCHITECTURE NAME wrong in 5.10 http://xrl.us/kkyqv =head2 common test code for timed bail http://xrl.us/kkyqx =head2 shared hashes fail to preserve utf-8ness of keys http://xrl.us/kkyqz =head2 watchdog should not execute END block http://xrl.us/kkyq3 http://xrl.us/kkyq5 =head2 version in F http://xrl.us/kkyq7 http://xrl.us/kkyq9 and more updates http://xrl.us/kkyrb http://xrl.us/kkyrd =head2 Silence some C++ warnings with C http://xrl.us/kkyrf =head2 C http://xrl.us/kkyrh =head1 New and old bugs from RT =head2 Security of ARGV using 2-argument open - It's a feature (#2783) The fact that there are some people out there who take perverse pleasure in writing log-munger.pl log.0 'gunzip -c log.1.gz |' and having it Do The Right Thing led Paul Fenwick to conclude that the reported bug is a feature. eww http://xrl.us/kkyrj =head2 C problem (#9385) Renée Bäcker added a small patch and test case to solve a long-standing problem in C. http://xrl.us/kkyrm =head2 Bug in C/C (#22977) There is a problem with C and C and forward declarations, due to a jumbo closure patch from Dave Mitchell in 2003. Apparently, due to the rewrite of the closure and lexical code in 5.10, what used to be simply a wrong result now become a core dump. http://xrl.us/kkyro =head2 C<=cut> toggles POD/code compilation rather than forcing code (#24483) Renée wrote some code to solve the fact that a C<=cut> following code will case the parser to flip into POD mode, rather than generating a warning. Abigail and Rafaël both admitted to having relied in the existing behaviour, and that it was more likely a task for C or C to solve. Renée therefore declared that the ticket should be rejected. And so it was. http://xrl.us/kkyrq =head2 for any perl thing, C should cough up some tip (#27886) Renée also set about making C return something useful for things like operators (such as C), and welcomed people's suggestions. http://xrl.us/kkyrs =head2 C doesn't describe actual behaviour of C (#34339) Renée added some documentation to address the concern. Steffen Müller updated the CPAN dual-lifed version, and hinted that blead's version needs to be bumped up a couple of notches. http://xrl.us/kkyru =head2 open(FILEHANDLE, "E&=$fd") + dupping in memory files (#50756) Bram looked at this report, and suggested that part of the problem was that the original submitter made a mistake, and the remaining problem was more a documentation issue than anything else. http://xrl.us/kkyrw =head2 C fails to set error (#51410) Nicholas Clark filed this report a couple of months ago, in an attempt to nail down an intermittent failure with C. Bram wondered whether running the test a few more times might trigger a smoke failure on some other platform. http://xrl.us/kkyry =head2 C on tied hashes (#51514) Bram saw that the failure that cropped up in 5.10 is now fixed in blead, at least on his machine, and so he asked the original submitter to confirm that it was indeed the case for them. http://xrl.us/kkyr2 =head2 C incompatible with F (#51762) Bram thought that this problem that affected 5.8 should be fixed in 5.10. http://xrl.us/kkyr4 =head2 C'ing a certain format string segfaults perl (#55668) Nicholas Clark reported that the bug was still with us, and pointed to the exact section of code that was no doubt responsible for the problem. http://xrl.us/kkyr6 =head2 return return (#56150) At the end of this thread from the week before, Reini Urban achieved the impressive feat of getting the tokeniser and the peep-hole optimiser to emit a warning when a doubled-up return was used. Having done that, he wasn't sure what to do with it; certainly no-one had the courage to apply the patch. the pig and and and and and whistle http://xrl.us/kkyr8 =head2 C<(((??{1 + $^N})))> behaves differently in 5.10.0 to blead (#56194) Bram noted that reverting change #32857 was sufficient to restore the previous behaviour. http://xrl.us/kkysa =head2 Unexpected UTF-8 flag in ascii strings (#56336) This bug report fell out of a thread on Perlmonks, but Rafaël Garcia-Suarez was disinclined to act upon it, considering it as a minor implementation detail. and people who call utf8::is_utf8 get what they deserve http://xrl.us/kkysc =head2 C with FB_CROAK may destroy its argument (#56340) Alex Kapranoff found a problem in C when playing with UTF-7 strings, and suggested a fix. http://xrl.us/kkyse Alex also found that the UTF-7 codec in Encode uses C without resetting C (bug #56342). so he reset it http://xrl.us/kkysg =head2 C with spaces - documentation unclear (#56348) Ed Avis tripped over the behaviour of spaces in glob parameters, but Paul Fenwick was quick to point out that it's a very desirable feature. He tightened up the documentation in C, which Rafaël applied. what would Lassie do? http://xrl.us/kkysi =head2 odd segmentation fault with F in perl 5.8.8 (#56376) Paul Miller reported a bug in F, only to discover that the porters had already encountered the error in an earlier incarnation and it was already fixed in blead. http://xrl.us/kkysk =head2 Odd behavior of given {when (... or ...) ...} (#56416) "Polynomial" posted a question over at Perlmonks regarding some mysteriously inconsistent results for smart matching. Since none of the answers solved the matter conclusively, a bug report was filed. http://www.perlmonks.com/?node_id=693370 http://xrl.us/kkysn =head2 Perl 5.10 breaks C<\N{}> in regex interpolated inside regex (with charnames) (#56444) Chris Pirazzi found a problem in 5.10 that Andreas Knig traced to a patch from Yves Orton back in September 2006. Rafaël discovered that a judicious use of C could sweep the problem under the carpet, thus leading him to conclude that there was some problem involving the order of loading afoot. http://xrl.us/kkysp =head2 C<%+> still untaints data when C is in scope (#56490) http://xrl.us/kkysr perl5.10.0: caching environment causes panic in some modules (esp. Term::ReadLine::Gnu) (#56500) http://xrl.us/kkyst =head2 Empty list elements in list context (#56524) http://xrl.us/kkysv =head2 C compiles but doesn't match a literal string (#56526) http://xrl.us/kkysx =head2 EvariableE used only once: possible typo (#56530) http://xrl.us/kkysz =head2 C and C are not members of public API (#56536) http://xrl.us/kkys3 =head2 5.10.0 crash on serialised v-strings (#56606) http://xrl.us/kkys5 =head2 C gives completely when C is used (#56608) http://xrl.us/kkys7 =head2 Perl 5.10.0 double-free bug with regular expressions (#56610) http://xrl.us/kkys9 =head2 Perl5 Bug Summary http://xrl.us/kkytb http://xrl.us/kkytd http://rt.perl.org/rt3/NoAuth/perl5/Overview.html =head1 New Core Modules =over 4 =item podlators 2.1.1 released http://xrl.us/kkytf =item threads::shared 1.24 http://xrl.us/kkyth http://xrl.us/kkytj =back =head1 In Brief Renée Bäcker wondered what to do about really old B that appear to contain wrong information, and the issuer never replied to a request for more information in over four years. Bram suggested that such tickets should be rejected, on the grounds that if it were a serious problem, someone would have filed a better bug report in the meantime. http://xrl.us/kkytm Juerd Waalboer wrapped up the B thread with a useful review for dealing with legacy code that deals poorly with UTF-8 strings. http://xrl.us/kkyto =head2 Last week's summary This Week on perl5-porters - 7-13 June 2008 http://xrl.us/kkytq This Week on perl5-porters - 14-20 June 2008 http://xrl.us/kkyts feedback http://xrl.us/kkytu =head2 About this summary This summary was written by David Landgren. Weekly summaries are published on F and posted on a mailing list, (subscription: F). The archive is at F. Corrections and comments are welcome. If you found this summary useful, please consider contributing to the Perl Foundation or attending a YAPC to help support the development of Perl.