user-pic

Samir Parikh

  • Website: samirparikh.com
  • About: Someone who knows very little about programming and even less about Perl.
Subscribe to feed Recent Actions from Samir Parikh

  • Toby Inkster commented on Perl Weekly Challenge 084

    This:

    my @newlist = map { BLOCK } @oldlist;
    

    Is basically just a shortcut for:

    my @newlist = ();
    for my $item ( @oldlist ) {
        local $_ = $item;
        my @got = do { BLOCK };
        push @newlist, @got;
    }
    

    And if the block is just a simple expression like a regexp, then you don't need the curly braces. So for example, to lowercase a bunch of strings:

    my @lowercase = map lc, @uppercase;
    
  • Ben Bullock commented on Monthly Report - October

    Good luck with your treatment.

  • Mohammad Sajid Anwar commented on Monthly Report - October

    Thanks Samir for your kind message.

  • Mohammad Sajid Anwar commented on Monthly Report - October

    Thanks Ben for your kind message.

  • sofiya commented on Adventures in Perl

    A website often serves as the first point of contact between a business and its potential customers fremont web design A professionally developed website with a clear brand message helps establish credibility and trust. It reflects the values and quality of a business, influencing how customers perceive the brand.

Subscribe to feed Responses to Comments from Samir Parikh

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.