Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

My First LinkedIn Article On Perl

by pritesh_ugrankar (Monk)
on Jan 01, 2021 at 14:43 UTC ( #11126079=perlmeditation: print w/replies, xml ) Need Help??

Respected Monks,

I've come here often to glean knowledge, ask questions, get solutions and at times, just for fun to check things out. Perl and PerlMonks has always stood me in good stead and a great source of knowledge.

However, I've been seeing a lot of negative stuff spread against Perl and could never figure out why.So, in my attempt to get back at all this negativity, I've written an article on LinkedIn Titled "Perl Myths" https://www.linkedin.com/pulse/perl-myths-pritesh-ugrankar. Humbly request you to please check it out and like/comment/share/ but most importantly, please let me know if there are any erroneous statements.

Replies are listed 'Best First'.
Re: My First LinkedIn Article On Perl
by jwkrahn (Monsignor) on Jan 01, 2021 at 22:47 UTC

    Hello pritesh_ugrankar.   From your article:

    The qr function allows for the regex to be stored in a variable so one can simply mention s/$regex_1/$regex_2/ instead of typing out the regex between the / and /.

    The second part of the substitution operator ($regex_2 in your example) is a string, not a regular expression.

    And therefore:

    2) By saying s/$regex2/$regex1/ one can simply reverse the replacement done earlier if the need ever presents itself.

    That will probably not work.

      Hi,

      You are right!! Thank you for pointing it out. I've edited the article accordingly. Thank you very much!!

Re: My First LinkedIn Article On Perl
by Bod (Chaplain) on Jan 01, 2021 at 18:12 UTC

    Firstly I commend you for addressing the bad press from which Perl suffers. I really hope that it nudges a couple of your connections slightly.

    With a marketer's hat on, the article is rather long (you already know that from your answers to comments) and I struggled to read to the end even with a vested reason to continue. It's dry and not especially interesting to the audience you are wanting to reach - why would anyone who thinks Perl is dead/outdated/irrelevant read it?
    What's in it for your reader? What's in it for someone who doesn't want to be enlightened about the wonders of Perl?

    Unfortunately, promoting anything to someone who thinks they don't want it is a tough call. Be that a new car, ham sandwich or programming language.

    Perhaps the best angle to sell Perl is grabbing interest by excitedly explaining this cool and sexy system you built. Go through all the world changing features it has and how they will make the reader's life so much better. Then add on the end that it is all created in the amazing Perl language that makes programming great solutions so easy and enjoyable.
    You tried that with your opening about how Perl helped you personally - fabulous stuff that needs building on.

    Let's hope you manage to nudge one or two to think a little more highly of Perl. It's a great first article and I hope it won't be your last.

      Hi Bod,

      Thanks a lot for the pointers. Indeed, it's quite a long and dry article. You are right.

      Unfortunately, my Perl skills are not at a level where I could write about something really super cool. What I have written are small utility scripts. Still, I will try to write about it in the next one. Thanks once again.

        What I have written are small utility scripts

        If most of your LinkedIn connections are people like you then utility scripts can be very cool to them...
        Anything that makes life simpler and gets mundane tasks done easier can be cool.

        Inspired by your article, I might just have a go at writing about a simple but very useful Windows GUI tool I use that's written in Perl.

        Inspired by your article pritesh_ugrankar I have written one too...yours is linked from it

        New year, new skill

        Any feedback is welcomed...I will publish it independently of LinkedIn later, food first!

Re: My First LinkedIn Article On Perl
by NetWallah (Canon) on Jan 02, 2021 at 17:49 UTC
    This language is common in Indian English:
    since quite a few years
    The more global way to say it is:
    for quite a few years.

    Please fix typo:
    (at least the once I use)
    should be
    (at least the ones I use).

    Update 1
    Re:"Perl Regular Expressions are really tough" :
    you could offer a link to https://regex101.com/ - a site that enables you to develop an debug (perl compatible) regex (PCRE).

    I would simplify your "get_info" calling sequence and example to:

    #CALLING sequece get_info (‘first_name’ => ‘John’, ‘last_name’ => ‘Doe’); #Implementation: sub get_info { my %param = @_; die "ERROR: First-name is required" unless $param{first_name}; die "ERROR: Last-name is required" unless $param{last_name}; print "Your name is $param{first_name} $param{last_name}\n"; }

                    "Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"

      Hi,

      Thank you for your valuable inputs. I've done the grammatical edits per your suggestion.

      However, I've kept the function same as before. That's because with a reference, even if I miss an argument in the calling function, it still executes. By using that, I wanted to show how Perl allows optional arguments.

        I don't understand what you mean by
        "even if I miss an argument in the calling function, it still executes"

        How is that behviour different than passing the hash (without a reference) ?
        Can you illustrate what you mean by an example?

                        "Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"

Re: My First LinkedIn Article On Perl
by stevieb (Canon) on Jan 01, 2021 at 15:19 UTC
    "However, I've been seeing a lot of negative stuff spread against Perl and could never figure out why."

    Because most people are ignorant, and have contempt prior to investigation. These people have no critical thinking ability whatsoever.

    The vast majority of people who put Perl down are people who have never written a single line of Perl code in their life, or who tried to write a line of Perl, but have attention spans as short as my pinky finger. They are simply "me too" folks, jumping on the latest fad bandwagon, just to watch them jump off to join the next one that rolls through town, all the while bashing anything the other folks who are on the latest bandwagon bash. It's called attention whoring.

    I give it no thought whatsoever.

    PS. I gave up on all social media five years ago, and LinkedIn was the last to go sometime last year after I realized it had devolved into not much more than Facebook, so unless you re-post your article here, I won't be reading it. Besides... I've been involved in Perl for 20 years with more than 50 published Perl distributions, so I need absolutely no convincing about the flexibility, efficacy, simplicity, efficiency and joys of the Perl language, and its core community.

      Hi,

      Thanks for the comment. Of course, the article is not meant for someone at your level of skill. It is meant for those who are at my skill level and on a lookout for a good language to automate stuff. I will post the article here anyways.

      However, if I may add, it is folks like you who really need to write such articles more than someone like me. With your vast and deep knowledge you could do far more than I can with such articles, however, as you've mentioned, you are off the social media which I understand and respect. Thank you once again and wish you a very happy new year.

        I've been writing articles about Perl for almost two decades. My interest in trying to convince anyone to use X or Y is long gone. I use Perl because it is very, very useful and enjoyable to me, and I don't personally care at all what anyone else uses, nor do I care if people are out there bashing Perl (justifiably or not).

        I find much more enjoyment in providing assistance and guidance for those who already have interest in Perl, and are trying to further their learning, not in trying to persuade people into using it. I also very much enjoy continuing my learning of the language, because I still very frequently do learn new things (in fact, I'm pretty sure I have at least one question in SoPW that's still active).

        Note that I am fluent in four languages, and can get by very well in several more than that. Perl is the only language where I have any interest in its communities. If that's not enough of an endorsement, oh well.

        With all of that perceivably negative verbiage stated, I do commend you on bearing the new generation's Perl torch, enlightening those who would otherwise be uninformed about the benefits of Perl.

        Cheers,

        -stevieb

      I gave up on all social media five years ago, and LinkedIn was the last to go sometime last year after I realized it had devolved into not much more than Facebook

      I very rarely watch any television but just before the festive break my Head of Marvelous Marketing suggested I watch The Social Dilemma so I watched it last night! Hugely powerful and caused my partner to frantically turn off many of the notifications on her mobile!

      Last year I seriously considered taking my business completely off social media as it takes up over 70% of our promotion time and 68% of our marketing budget. But that would be a big step when 56% of our customer leads come through social media, mostly Facebook.

      Much as I'd love to come away from social media personally, it's all but impossible when it also pays the bills. Although I do often wonder why I bother with LinkedIn!

        Yeah, I don't watch TV either, and haven't had cable for 15+ years. I have some ol' reliable things downloaded that I'll throw on from time-to-time, like an episode of "The Waltons" or something, but I got so fed up with commercials and the outright crap that's presented anymore I stopped.

        I understand the business justification for social media, because that is a valid justification. I have no need there. The false dopamine pleasure from those Likes is destroying the human. Jesus, people are getting pleasure from feedback, yet since they are phony and fake online, it's all false! They are living in, and getting pleasure from pure falsehoods and make-believe. People looking down at their phones all the time makes me absolutely sick and disgusted. Next time you walk down the street, pay attention to how many people make eye contact with you compared to how many are blindly walking along looking down at their phone.

        Fsck, sit in a restaurant and pay attention to the tables. The vast majority of people, even at the same table, aren't even communicating or looking at one another. Again, they are on their phones.

        Not for me. I don't even spend time with anyone who can't go out for a bite to eat, a walk, a drive or anything if they can't leave their damned phone alone for an hour... or hell, five minutes.

Re: My First LinkedIn Article On Perl
by 1nickt (Abbot) on Jan 01, 2021 at 18:15 UTC

    Great job, well done!


    The way forward always starts with a minimal test.
Re: My First LinkedIn Article On Perl
by Leudwinus (Beadle) on Jan 07, 2021 at 01:47 UTC

    Hi Pritesh,

    I first saw your article over on Reddit but am glad you posted about it here. As a relative newcomer to Perl who has seen and heard about some of Perl's "stodginess", all I can say is that I am happy that we have advocates such as you. Looking forward to reading more of your work.

    Gratias tibi ago
    Leudwinus

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://11126079]
Approved by marto
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2021-04-17 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?