user-pic

Leon Timmermans

  • Posted Perl7 is a fork of values to Leon Timmermans

    Before reading this, you should watch this video where Bryan Cantrill explains a value-conflict between Joyent and Node.js, I believe we have a similar problem.

    In it he defines a list of project values:

    ="https://image.slidesharecd…

  • Commented on Perl 7 Thoughts
    Worse yet, the `set_prototype` has to happen in a `BEGIN` block to take full effect :-/...
  • Commented on Perl 7, not quite getting better yet
    No apologies needed, but taking things to p5p may be a good idea indeed....
  • Commented on Perl 7, not quite getting better yet
    Being a former bioinformatician myself, I can only concur it should work that way; but that's not how academic computing works today and it's unlikely that it will work that way tomorrow....
  • Posted Perl 7, not quite getting better yet to Leon Timmermans

    The Eighteenth Brumaire of Louis Napoleon - Karl Marx

    Sawyer just anno…

  • 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...
Subscribe to feed Recent Actions from Leon Timmermans

  • moritz commented on Perl 7, not quite getting better yet

    Smylers, another nugget to consider: Raku's "use DBI:from;" only work because Raku and Perl 5 have different library search paths (and methods, but that's secondary).

    If you plan to use the same search paths for mixed Perl 5 + 7 libraries, then the information about which language to use has to be in the module, not in the caller.

    Otherwise you run into weird issues where you have "use5 A::B" but "use7 A::C", and then A::B cannot upgrade to Perl 7, because all the callers still use "use5" to load it (whatever the syntax turns out to be). Also, you spread the knowledg…

  • Smylers commented on Perl 7, not quite getting better yet

    you run into weird issues where you have "use5 A::B" but "use7 A::C", and then A::B cannot upgrade to Perl 7, because all the callers still use "use5" to load it

    Not quite. use wouldn't mean ‘load and enforce v5 semantics regardless of what the file says’, but ‘load with v5 semantics by default’. A::B could still put a use v7 in there to switch itself to modern meanings. The point would be to avoid inadvertently loading a legacy module with modern semantics that it didn't know about, but nothing stops it opting i…

  • tnish commented on Perl 7, not quite getting better yet

    Can we just have a /usr/bin/perl-ng (for 'next gen', or any other cheesy suffix we can think of)? It doesn't take over /usr/bin/perl, we won't end up with multiple perl8, perl9, etc... And it still has "perl" in it. /usr/bin/perl-ng will be 7 and beyond, /usr/bin/perl will be 5.x. Distros can ship a perl 7+, and a perl 5.x. It will be annoying to remember adding -ng to perldoc, cpan, and a few others, but, seems like something we can get used to (I'd just use shell aliases or something).

  • George Magklaras commented on Perl 7, not quite getting better yet

    Nice article, I see most of your points. For the purposes of accuracy, however, you might like to correct what you say about Python3 and the Linux distros. Fedora (since Fedora 32 which is the latest stable) has switched to Python3 by default (and yes, this has upset many dev folk that were still relying on Python2). Gentoo (I think) has a compilable option to switch to Python3 and OpenMandriva has also ditched Python2. So, things are happening there.

  • Toby Inkster commented on Perl 7 Thoughts

    Well, if it's a module and you're just exporting the subs and not using them internally, then it shouldn't need to be in BEGIN, because from your caller's perspective, your whole module is running at compile time.

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 with a design donated by Six Apart, Ltd.