user-pic

confuseAcat

  • About: Random observations that may in some way be related to Perl.
  • Commented on perldoc -l for modules without pod
    mpath from Module::Path does the trick quite nicely. See also http://blogs.perl.org/users/neilb/2014/01/whats-your-tiny-tip.html...
  • Commented on Tool tip: looking at a module's source
    Neat! I immediately changed my bash function that does this and replaced "perldoc -l" with "mpath". Thank you!...
  • Posted Overheard on stackoverflow to confuseAcat

    Commenter: why did you comment out use strict;?

    OP: because i was getting errors and warnings because not all variables are defined as "my" or "our". it is for testing purposes only. I will uncomment that line later when the script works. …

  • Commented on Data::Dumper::GUI
    Weird. I tried this by dumping \%INC and this will make it segfault every time. Dumping \@INC works just fine....
  • Commented on Kegler spam
    I assume you are ranting about Jeffrey Kegler. Where is the problem? I enjoy his posts and have no idea why you consider them spam. Whether someone automates the posting-process or not is completely irrelevant for judging the contents of...
  • Commented on Pre-Modern Perl VS Post-Modern Perl: Redux
    Don't worry. My guess is that your opinions were largely ignored in that last post. Which is not to say that they should be ignored....
  • Commented on Pre-Modern Perl VS Post-Modern Perl: FIGHT!
    @David: I'm sorry, I guess I was overgeneralizing. You're right, you never said that. @rlauer: I'm sick and tired of your vicious cycles of 1) lamenting ad-hominem attacks, 2) ad-hominem attacks, and 3) weaseling out of 2). That's why I...
  • Commented on Pre-Modern Perl VS Post-Modern Perl: FIGHT!
    Paul, no, those were emphatically not good blog posts about not using Moose. Those were blogs posts that both said "I'm sick and tired of hearing about Modern Perl". Both used Moose as examples, but neither was about Moose. Now...
  • Commented on JQuery and Moose
    I don't quite get it. Is this the anti-modern-javascript post we all have been waiting for?...
  • Commented on Coping with double encoded UTF-8
    First comment! Where is $UTF8_double_encoded? And what's the purpose of if (&utf8::is_utf8)?...
  • Commented on Pre-Modern Perl VS Post-Modern Perl: FIGHT!
    Thanks Buddy! Reading the first few sentences of your post made me think "Ah, someone wrote the post I wanted to write". But it's not quite hitting the bull's eye. At least not the bull's eye I had in mind....
  • Commented on Perl and self flagellation...
    I have a feeling that this thread is completely missing the point. This is not about Moo/Moose/Mouse code being easy to maintain, not about Plack apps being easier to deploy. This is about the stuff I'd be discussing with my...
  • Commented on Perl and self flagellation...
    There are several things here that I don't get. I get the impression from the Perl community sometimes that if you aren't using Moose you're not a real Perl programmer. The notion of Modern Perl to me is a bit...
  • Commented on Announcing Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter
    Wow. Mithaldu is right. This is good news! But Tom isn't really wrong either: https://metacpan.org/source/GFUJI/warnings-unused-0.06/Changes AFAIK, the old version wouldn't compile with newer versions of Perl (I forget whether this was with 5.14 or 5.16). I'm a big fan of...
  • Commented on Response to Ejecting CGI.pm From the Perl Core
    @raudss.us: Most sysadmins have switched away from Apache a long time ago? You mean not counting the 50%+ that are still using it?...
  • Posted Modules in core: who cares? to confuseAcat

    two-things-i-dont-like.jpeg

    When I first read about the idea to remove CGI.pm from core,…

  • Commented on Site Front Page
    Couldn't we simply tell MT to not publish posts that have a body longer than X lines?...
  • Commented on How to be agile without testing
    For me, there are two very good reasons for writing tests. I am lazy and I write web applications. Clicking myself through that up until I find the feature I'm working on just to be greeted by a stupid error...
  • Commented on Encouraging bloggers to use the 'extended' feature
    Ouch! #3 would be more than just helpful. I always thought that "Extended" was some sort of extended editor. I guess #3 is mandatory....
  • Commented on Discoverable tests and creating testing standards
    Very nice. Here's a little more vimscript, also including the GetCorresponding() function: https://gist.github.com/mannih/16c75db8a94f73c2f75d...
  • Commented on Test::Whitespaces
    I think this is nice and useful and I hope to use it soon. But: Running the test script from the synopsis using prove doesn't output anything helpful: $ prove t/Whitespace.t t/Whitespace.t .. Failed 364/406 subtests Test Summary Report -------------------...
  • Commented on [FB]izzBuzz in Perl
    It's interesting that you are going for the shortest solution. Jeff's post describes a test for hiring programmers. If I were to hire somebody, I'd put all my bets on the candidate delivering the cleanest code and I'd give lots...
  • Commented on How to use SOAP::Transport::HTTP::Plack
    Oh, sorry. To be fair, the module works very well and I'm grateful you put it on CPAN. But saying that the documentation isn't really helpful actually was quite fair. I didn't post this here to shame you, but to...
  • Posted How to use SOAP::Transport::HTTP::Plack to confuseAcat

    I needed to port a little cgi-script that implements a simple SOAP-server to Plack. After a little searching, I came across SOAP::Transport::HTTP::Plack.

    Unfortunately, t…

  • Commented on LCLOC of the month
    Thanks for the question, Hercynium! It perfectly answers Gabor's question, because the line you posted is almost exactly the line I used to replace that LCLOC....
  • Commented on LCLOC of the month
    git says that this beautiful line just popped into existence....
  • Posted LCLOC of the month to confuseAcat

    Here's the Least Comprehensible Line Of Code I came across this month. Took me a while to make sure it really did what I thought it did.

    my @array;
    # ...
    @array = map {$_;} (@array, keys %{$this->{'someobject'}->get_some_hash_ref()});
    

    Bon…

  • Commented on YAPC::Europe Day 1
    You were the perfect host for the lightning talks and nothing went wrong. So there you go....
  • Posted What Moose is doing to my nose to confuseAcat

    It's only been a couple of months since I've been using Moose, but it is already changing the way I read code. Of course, it changed the way I write code in a very short time, but I was surprised when I realized that it also changes the way I…

  • Commented on Minimizing script startup overhead
    Before I go ahead and change "use" into "require", I go and buy new hardware. If a change like that really makes a difference, you should either optimize the module being used/required or admit that you are working on hardware...
Subscribe to feed Recent Actions from confuseAcat

Subscribe to feed Responses to Comments from confuseAcat

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 run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.