user-pic

Leon Timmermans

  • Commented on Smartmatch in 5.27.7
    The new keywords are whereis and whereso. Oops, fixed that. These keywords really aren't intuitive to me. Unfortunately when/whereis/whereso are not among the keywords exposed as functions in CORE::, so it is hard for me to see how to write...
  • Posted Smartmatch in 5.27.7 to Leon Timmermans

    What happened?

    In the latest development release of perl, smartmatch changed quite a bit.

    Almost everything you believed about smartmatching is now wrong

    No really, everything. All previous rules are gone except a single one: you can smartmatch against any object that o…

  • Commented on Test2/Test::Builder Update from the QAH
    I think most of the discussion on that table, as well as here, was about the wrong question entirely. As such The fundamental question is "it is better to have a united or a split ecosystem, and for whom". For...
  • Commented on More on YAML, syck looks much better
    What I need now a is good YAML testsuite People are working on a cross-language testsuite. Not sure what the current state is, this is a rather non-trivial endeavor. YAML::XS emitting unindented seq elements for a map child ditto If...
  • Commented on UTF-16 and Windows CRLF, oh my
    The PERLIO environmental variable may also be able to help you there....
  • Commented on Fixed 5.22 problems during my compiler port
    > Also, publicly stating "John broke xyz" probably doesnt help win people over. Yes, that....
  • Commented on What's the perl5's future?
    Quite frankly, both cperl and stableperl are more about their authors and p5p not being compatible with each other than anything else. The difference between stableperl and p5pperl is so small that the former is a bit silly (the latter...
  • Commented on File::Slurp is broken and wrong
    I believe that the default encoding using by File::Slurp is because of a Perl bug with threads: https://rt.perl.org/Public/Bug/Display.html?id=41121 That bug is truly a PITA, but it's not particularly relevant to slurping as the handle won't be shared between threads....
  • Posted File::Slurp is broken and wrong to Leon Timmermans

    If you are using File::Slurp, you should possibly reconsider. Basically, there are three reasons to do so;

    It is wrong in a lot of cases.

    File::Slurp predates IO layers, and as such doesn't take them into account well. A few years ago, after some complaints, an attempt was done t…

  • Commented on Call for help with open source project "CLPM"
    In my mind, CLPM still means comp.lang.perl.misc ;-) Spent many hours there in the past :-)...
  • Commented on Spam from waag.org
    I got the same message. Weirded me out a little too, but mostly devnulled it....
  • Commented on Day 6: Think globally, act localizably (File::umask, Locale::Tie, Unix::setuid)
    Thanks for your input. I'm not sure what you meant by "saved IDs". You may want to read Setuid Demystified first before writing any kind of setuid wrapper....
  • Commented on Day 6: Think globally, act localizably (File::umask, Locale::Tie, Unix::setuid)
    Unix::setuid is a poorly worked out idea. Firstly because it doesn't report errors in any way (despite typically being used in security-critical ways). Secondly because it omits the saved IDs (which are fairly important). That said, I do like the...
  • Commented on We are all Perl's ambassadors...
    What I hate most about the system is that it doesn't offer me a way to get back into contact with the rater. Maybe they are mistaken about something essential, maybe I fixed a legitimate issue they reported. Maybe I'd...
  • Commented on Managing Boilerplate with Import::Base
    This is a terrible idea really: any change to your bundle mean breaking backwards compatibility. This sort of breakage-at-a-distance can be hard to diagnose. To some extend you can deal with it using a versioning argument (like Modern::Perl does nowadays),...
  • Commented on Strawberry Perl 5.20.1.1 invalid MSI signatures
    Quite frankly anyone asking for a scanned copy of an identification document is an idiot: you can not verify the authenticity using a copy. Even a crappy forge is likely to be accepted. Sending it by non-encrypted email doesn't make...
  • Commented on A pre-release of Pod::Readme is available on CPAN
    Why the dependency on Moose and v5.10? The latter seems rather unnecessary, and the former poorly chosen (lots of dependencies, while using few of it's features: Moo sounds like it would be much more appropriate)....
  • Commented on How should conference speakers be compensated?
    I think there are two kind of sponsored people. The first category are the Damians of our community. These are people whose attendance at any conference provides an immediate and obvious benefit every time you'd invite them. People like me...
  • Commented on Introducing IOD file format
    Have you taken a look at [TOML](https://github.com/toml-lang/toml)? IMO it provides a much more sensible paradigm than INI, while still being intuitive enough for most people. There are already two parser for it in Perl....
  • Commented on A Tale of Two YAPC's
    Sounds like excellent choices have been made....
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    More often than not you can hack on a module without Dist::Zilla just fine. Tests can usually be run simply as `prove -lr t/`, so usually you can actually hack on the code and test the results without touching dzil....
  • Commented on Introducing Sub::Trigger::Lock
    You're not locking the external access, but the internal implementation. IMO that's the wrong solution....
  • Commented on How to upload a perl module on CPAN using Dist::Zilla?
    Actually, you need to use a semicolon as comment character ;-)...
  • Commented on Perl and Me, Part 1: The Road So Far
    > It looks interesting; it seems to solve several of C++'s more egregious problems (e.g. garbage collection). Actually, I consider garbage collection to be the main mistake in D. In such a low level language, I don't want garbage collection....
  • Commented on Visualizing a CPAN install plan
    > I've always wondered why CPAN does not at least show a full dependency list (what will be pulled in, not necessarily the full dependency list) similar to the way that yum does prior to launching into what can turn...
  • Commented on Is it possible to run Movable Type under Apache HTTP Server?
    CGI still lives for the same reasons as inetd still lives: services that are queried only infrequently (with a "frequently" being defined by the sysadmin), keeping a process in memory is wasteful. Exactly. CGI is the only sensible thing...
  • Commented on A new blogs.perl.org or die trying
    Yeah, I'm not fond of it either. I can't help thinking "wouldn't a simpler solution be better here?"...
  • Commented on Parsing JSON with a single regex
    Awesome. XML parser next?...
  • Commented on PDL 2.007 Released!
    This PDL release was the driving force behind File::Map fixing some 64-bit related issues, so thank you Chris and Rob :-)...
  • Commented on CPAN candidates for adoption
    The scoring mechanism doesn't seem to have much of a resolution. Many of those dists don't need adoption at all. One module of mine is in there because it has two wishlist tickets…...
Subscribe to feed Recent Actions from Leon Timmermans

  • Ron Savage commented on Smartmatch in 5.27.7

    I didn't mean there was shortage of commentary, just a shortage of commentary having our desired effect.... Bit like auto-deref, actually :).

  • Aristotle commented on Smartmatch in 5.27.7

    Yes, autoderef came to my mind as well.

  • smls commented on Smartmatch in 5.27.7

    Maybe documenting some rationale for at least "whereso" would help

    It's probably inspired by the so function from Perl 6, which simply coerces its argument to Bool - like the not function but without the negation.

  • brian d foy commented on Smartmatch in 5.27.7
  • ronw commented on Smartmatch in 5.27.7

    I think that smart match tried to do too much. the use I had for it was "when" to allow for a more flexible "switch" construct than using a mix of "nswitch", "sswitch" and "rswitch" (and variations, as provided by various CPAN modules).

    Things like "appearing as a value in an array", and other complexities, would be better accomplished by their own operators or functions.

Subscribe to feed Responses to Comments from Leon Timmermans

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.