This Week on perl5-porters (3-9 May 2004)

This Week on perl5-porters (3-9 May 2004)
  On the menu of the P5P summary this week, you will find language
  constructions, segmentation faults, proposals for new tied methods,
  pronunciation issues, and (in fine) a few bugs.

More on "last"
  Continuing a thread from last week about the "last" statement used to
  exit an eval() block: "last" and "next", when used to exit from a
  subroutine, not only exit, but also branch to the specified loop/label
  of the caller. This is definitively a feature, since (as Tim Bunce
  remarked) Test::More::skip() uses this, and (as Hugo van der Sanden
  pointed out), Apocalypse 12 uses this to define method lookup

"open" pragma segfault
  Tomasz Pala reports (bug #29437) a case of recursion in perl's character
  encoding routines, which obviously (once diagnosed) leads to stack
  recursion and to segmentation fault. The sample code involves somehow
  the "open" pragma.

Truncation of tied filehandles
  Dan Boorstein proposed a patch against bleadperl to add a TRUNCATE
  method to tied filehandles. Tassilo von Parsval commented that this new
  method should probably be made optional, for simplicity and

More pack() work
  Marcus Holland-Moritz, who implemented a couple of weeks ago new
  modifiers ("<" and ">") for pack() templates, added a way to group these
  with parentheses.

Weak references problems in 5.8.4
  Stas Bekman reported that Scalar::Util::weaken() (used to make weak
  references) has new problems in perl 5.8.4 (as it attempts to free
  unreferenced scalars, unveiling a deeper malfunction.) As those problems
  don't appear in bleadperl, Dave Mitchell does some investigation about
  the patches which caused it, and proposes a solution -- a patch from
  blead to integrate in maint.

How do you say "!~"?
  Yitzchak noticed that using "!~" on an uninitialized value reports the
  warning as having occured in a "not" operation, which is not exactly the
  case, and proposed to change the message; which raised the question,
  what is actually the name of the "!~" operator?

In Brief
  Dan Dascalescu reported (bug #29346) that passing an undefined argument
  to the int() or abs() built-ins produces the "Use of uninitialized
  value" twice. Another history of magic handled twice.

  H. Merijn Brand is back on Cygwin smokes. This time, there were some
  IPC::SysV failures; Yitzchak Scott-Thoennes pointed out that a service
  needs to be started on Cygwin to make them work.

  David Muir Sharnoff reported that Scalar::Util::refaddr() (a function
  that returns the memory address of the reference it gets passed) doesn't
  work when magic is somehow involved (bug #29395). Marcus fixed this.

About this summary
  This summary was written by Rafael Garcia-Suarez. Weekly summaries are
  published on and posted on a mailing list, which
  subscription address is Comments and
  corrections welcome.
5/11/2004 7:51:54 AM
perl.perl5.porters 47902 articles. 1 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 33


Similar Artilces:

These Weeks on perl5-porters (9-29 August 2004)
These Weeks on perl5-porters (9-29 August 2004) This is an olympic summary: it jumps over three full weeks! Tainting PATH on Windows Discussing about a new test failing in the smoke tests for Windows, Steve Hay found that the following one-liner: perl -T -e "qx(unqualified)" doesn't produce the familiar error "Insecure $ENV{PATH} while running with -T switch"; and all perls since 5.6.0 behave similarly on Windows. This is probably a bug, although an old one (and the failing test was marked TODO). Delenda est the module list What ...

This Week on perl5-porters
This Week on perl5-porters - 3-9 November 2008 "PS: Hi, guys. Been a while. How you been?" -- Chip Salzenberg, back on the chain gang. Topics of Interest synopsis thoughts and an additional affordance David Golden made good on his promise to write a better synopsis for to help steer people out of trouble when dealing with version numbers and their comparisons. Michael G. Schwern pointed out a couple of places where things weren't locked down, but said that he thought David's take was much clearer. Bu...

This Week on perl5-porters
This Week on perl5-porters - 3-9 July 2006 "CPAN is an unorganised anarchy. The checksum only guarantees that your downloaded file is identical to the one on CPAN, but there's no guarantee whatsoever that the file on CPAN is sane." -- Johan Vromans, reflecting upon the joys of open source software. Topics of Interest Is Perl an itch-free zone? Following on from the thread following on from the unfinished summary of a couple of weeks ago, Nicholas Clark wanted to know if the Perl engineering process was too good for itself. With a dedicated cr...

This Week on perl5-porters (3-9 February 2003)
This Week on perl5-porters (3-9 February 2003) I'm not sure whether it's me or if the Perl 5 porters discussions were actually a bit shorter than usual, but this week's summary, indeed, appears to be a bit shorter than usual. This doesn't mean that it's absolutely without interest. Maintenance releases Leon Brocard asked for the expected availability of the 5.005_04 and 5.6.2 releases. Notably, there are known fixes to allow building perl 5.005_03 and 5.6.1 with the newest versions of gcc and of the Berkeley DB. Gurusamy Sarathy intends to release...

This Week on perl5-porters (10-16 May 2004)
This Week on perl5-porters (10-16 May 2004) Welcome to our latest edition of the P5P summary, for which I'm sure you have been waiting. This week, you'll read about considerations on Storable, nice improvements to the debugger, bugs, and other interesting subjects. Storable and memory usage Richard Jelinek was wondering about the reason why the Storable module sometimes uses so much memory when large hashes are stored. Nicholas Clark explained some of the inner workings of Storable, which needs to keep track of every element it stores, in order to avoid dupli...

This Week on perl5-porters (3-9 October 2005)
This Week on perl5-porters - 3-9 October 2005 A quiet week on perl5-porters, in which we learn that if we diddle with the environment, we eventually pay for the consequences, and Schwern saves the day by preventing the module testing infrastructure from falling apart. Inline broken on blead David Dyck wrote in to say that Inline's "make test" was failing in blead, due to a construct that applied the "defined" operator to a hash. Rafael Garcia-Suarez summed up the problem succinctly: $ perl5.8.7 -wle 'print defined %foo::...

This Week on perl5-porters (3-9 November 2003)
This Week on perl5-porters (3-9 November 2003) This week was undoubtedly a maintenance-oriented week, as it has seen the release of perl 5.8.2, and of perl 5.6.2 RC1. But of course and as usual this wasn't the only topic on the always active p5p list. Read below for the full details. 5.8.2 After a final release candidate 2, Nicholas Clark uploaded the final perl 5.8.2 to CPAN. Nicholas plans to release maintenance tarballs regularly, the next one being scheduled for new years eve. Some build problems are reported, though : apparently ...

This Week on perl5-porters (24-30 May 2004)
This Week on perl5-porters (24-30 May 2004) This week, you'll read in this summary more about the uninitialized warning plans for 5.8.($n+1), some XS tricks, intriguing bugs, and the different types of UIDs. Uninitialized warnings in maint Nicholas Clark thinks about a way to backport in maintperl the enhanced bleadperl warning, "Use of uninitialized value $foo at...". However, they're not 'stable' enough to be enable the extra information by default. He lists a couple of solutions (add a class of warnings, or a new pragma, or a global flag....

This Week on perl5-porters (9-15 February 2004)
This Week on perl5-porters (9-15 February 2004) Another quiet week on perl5-porters; but big patches were proposed, demonstrating that the porters are not dead yet. Read about a revamp of the parser, an in-depth modification of the internals, and other bugs and associated fixes. Revamping the perl parser While fixing bug #25824, Dave Mitchell thought it would be a good idea to shave the yacc and to move the perl parser implementation from byacc to bison. And so did he. He noticed also that "the new bison parser actually seems to be better at error recovery"...

This Week on perl5-porters (17-23 May 2004)
This Week on perl5-porters (17-23 May 2004) This week, your P5P summary is featuring phases of the moon, and other funny things that always make the day of the average perl hacker. Bug #29585 describes how the Shell module fails to handle filenames with spaces in them. Tassilo provided a patch, but Slaven Rezic pointed out that one could argue that rm("my file") should remove two files, my and file: rm("*") does globbing, after all. Moreover, Shell escapes some characters and not some others. Therefore Tassilo concluded that "there...

This Week on perl5-porters
This Week on perl5-porters - 28 April-3 May 2008 "I've been playing around with MAD this morning [...] The current state of the tests for MAD is a bit sad, though I hope to have something that will make interested porters glad in the near future". -- Jesse Vincent, not a bad lad to spend a tad on MAD. (gad, Dad! it's not a fad). Topics of Interest More on tainting Nicholas Clark thought that a of points Paul Fenwick made regarding late-acting taint weren't borne out by an inspection of what the source code actually did. Alth...

This Week on perl5-porters (26 April / 2 May 2004)
This Week on perl5-porters (26 April / 2 May 2004) This week, our p5p summary will describe a lot of little bugs, some of which were fixed, some of which weren't, in a lot of different areas of the perl interpreter. Unicode problems It took a few iterations to get Jeff Pinyan's rewritten Unicode tables support in bleadperl right. Notably, some files that were named similarly were causing problems on case-insensitive filesystems. Jeff Pinyan and Sadahiro Tomoyuki also wondered...

This Week on perl5-porters (31 May / 6 June 2004)
This Week on perl5-porters (31 May / 6 June 2004) As I've advertised the weekly P5P summaries during the French Perl Workshop, I feel compelled to continue to write them each week... Read on for the latest batch of commented links. Smaller tarball Nicholas Clark, enhancing Jeff "japhy" Pinyan's improvements to the Unicode data tables, makes them generated at perl compile time. This way, an unpacked clean source tree is 1.6 MB lighter. However, this produced so...

Fantasy defined() tricks ((was Re: This Week on perl5-porters (3-9 October 2005)
On 10/10/05, David Landgren <> wrote: > This Week on perl5-porters - 3-9 October 2005 > one side effect was > to make "defined %symbol_table::" always true. So how difficult would it be to identify defined(%...::) and optimise the defined away at parsing time, to support legacy code that checks for definedness, r= ather than truth, of symbol table stashes? Are there any corners where the old meaning of defined %ST:: and the truth valie of %ST:: don't match? On the subject, some weeks ago I suggested recognizing if(define...

Web resources about - This Week on perl5-porters (3-9 May 2004) - perl.perl5.porters

Resources last updated: 12/23/2015 2:49:11 PM