user-pic

Code Monkey

  • Commented on HttpD On-Demand
    Thanks for sharing this useful tips. I has copied that into my .bashrc....
  • Commented on List shortage of Perl
    Thank you so much for your contribution for PDL. I use PDL at times and am amazed by this power considering the limited resources PDL team have. The REPL of PDL is a great tool....
  • Commented on A little nicer way to use smartmatch on perl 5.18
    One of the features that I miss most comparing with Python is the keyword 'in'. It would make the code of checking the belongingness so elegant. I felt excited when the smart match '~~' came in Perl but feel sad...
  • Commented on Regexp::Debugger saved me twice today
    Thank you for referring this awesome CPAN package! Now I can test my regexp locally in my terminal. Even though there also are some online service for helping writing regexp, this package is still a must-have. Please keep recommending great...
  • Commented on SOAP::Lite 0.716 released
    It is so cool! I can't imagine what my life would have been without SOAP::Lite. Thank you so much for keeping improving this amazing module! -- A lucky SOAP::Lite user...
  • Posted Introducing quickcd to Code Monkey

    Hi guys,

    This is my first post on b.p.o. I know you guys are arguing about the version issue of Perl recently. How about take a short escape and try quickcd at https://github.com/jchain/quickcd? If you are a Linux && Bash guy…

Subscribe to feed Recent Actions from Code Monkey

  • David Mertens commented on List shortage of Perl

    @Code Monkey, thanks for the kind words.

    @Yuki, thanks for the apology. You are expressing a wish that Perl was used more for numerical work and I share that wish. I think the issue was that I misread your wish as a demand of the Perl community that it step up.

    @vsespb, direct hash access is fine, unless you (the author of the underlying class) need to start doing validation transparently. Then you have to perform a whole bunch of search-and-replace stuff. I think Yuki was complaining about all the boiler plate needed for basic accessors.

  • Yuki Kimoto commented on List shortage of Perl

    @vsespb

    >I wonder, what is the bigger problem you see with avoiding use of accessors? i.e. what if one just use $self->{somefield} ?

    OO programing generally have three basic concepts.

    1. Inheritance
    2. Capsulation
    3. polymorphism

    Accessor is needed for Capsulation. Direct attribute access is not recommended way. I want to write capsulation advantage at next entry.

  • educated_foo commented on List shortage of Perl

    FWIW, it's "encapsulation," not "capsulation", because en- is a prefix:

    a prefix occurring originally in loanwords from French and productive in English on this model, forming verbs with the general sense “to cause (a person or thing) to be in” the place, condition, or state named by the stem

    I think encapsulation is a useless turd, but I also like languages.

  • Steven Haryanto commented on HttpD On-Demand

    Hm, this has got to be at least the second or third time someone posted about this recently on bpo...

    There's an app for that (R), BTW: https://metacpan.org/pod/App::HTTPThis (although I really prefer typing "httpthis" instead of "http_this").

  • Steven Haryanto commented on HttpD On-Demand

    Also, I remember that Redhat/CentOS used to have Apache webserver installed as 'httpd'.

Subscribe to feed Responses to Comments from Code Monkey

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.