Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Why did you become a Perl expert (or programmer)?

by QM (Parson)
on Jun 25, 2018 at 09:23 UTC ( #1217349=perlmeditation: print w/replies, xml ) Need Help??

Prompted by this comic at Commit Strip.

Me? (Not that I'm an expert.) Because Perl was handy, extremely useful, and didn't require a separate compile phase. Because I could solve other people's problems with it. Because it was general purpose, and not specifically geared for stream picking / editing. Because it was free. Because it was more fun than any other language I knew at the time.

Quantum Mechanics: The dreams stuff is made of

  • Comment on Why did you become a Perl expert (or programmer)?

Replies are listed 'Best First'.
Re: Why did you become a Perl expert (or programmer)?
by Tux (Canon) on Jun 25, 2018 at 13:35 UTC

    I read about perl4 in a magazine and thought it would be a good replacement for our never ending combinations of sh/awk/sed and compiled C-programs. The boss allowed me to order the CD from the US. No internet then in our company. It proved to be a good choice. And awk2perl and sed2perl were a big help - then.

    Later I built in Unify database support into perl4. Don't ask: you don't want to go there.

    Then came perl5, with DBI! I waited a few years and as nobody else did, I wrote DBD::Unify. Using that with all the shiny new features in perl5 caused a rapid development of using perl in our daily process, so old perl4 scripts were rewritten to perl5, including all formatting stuuf using format. Perl5 however had a bug. In or about 2001, they said to fix that myself in the core if I knew any C, as nobody was interested in dealing with format-related code. I fixed it and I then knew why people stayed away from that code.

    A while later Jarkki asked me to take over responsibility for Configure in CORE. The vortex never ends, ad I am still around. Many conferences, meetings, patches, modules, more patches and new features later, I still see perl as my main development tool: it just gets the job done.

    Enjoy, Have FUN! H.Merijn
Re: Why did you become a Perl expert (or programmer)?
by Discipulus (Canon) on Jun 25, 2018 at 10:28 UTC
    Uch! QM you stolen my idea for my next meditation! ;=)

    I planned to title it: How IT begun? My history with computers and programming anyway here I'm. For sure not an expert.

    I think this meditation, if rich of background details, will be useful or fun for future readers. Infact I suspect next generations of programmers will be prepeared in a more formal way and also programming languages will be more industry driven: no more tool made by passionate peoples to help other peoples but more tool made by the industry to make more gold more quicly, as always.

    I had a passion for history and I disliked math. Now I understand it was because of wrong teachers.

    My father is a professor of an humanistic field. He asked my help when I was a teenager to switch from his Olivetti Lettera 35 writing machine to a PC running DOS 6. I've done my best to help him but I looked at the manual of DOS 6 as you can look at gerogliphic on the Tutankamon pyramid: O_O

    On his 286 my father used wordstar 5.5 to produce text: everything was block driven with a kind of tag system ą la html.

    I remember my fear after issuying doublespace.bin reading the evil warning: this command is irreversible ouch!

    Then a big time gap till the end of the past millenium. I was in a small group and we collected some old computer and monitors to build up an hack lab. Linux was the new revolutionary thing! iirc redhat 5.6 was the release.

    A guy (Daniele if my memory still serves), shall Larry bless him, helped us to build the network (coaxial cables: do you remember?) and gave us the first notions of Linux. At the end of the session he distributed a 20 page Perl introduction in italian (i think is this one) saying: If someone is interested and has some spare time this is worth to read..

    A friend from Senegal teached me about the art of hardware maintenance, assembling and cannibalizing: still useful lessons!

    In a hot summer, after my hours as mason and before fool nights as you can only can afford in your 20s, I tried to write some html page and.. I get bored very soon: ok colors, letters, titles.. it seemed to me a primary school occupation. I needed something more challenging and I took such introduction to Perl.

    I reread it many times without understanding well what the goal was: at that time I had no internet support and everything was on my own.

    After some hours I produced my first script: an ugly chain of system calls to automate the firewall creation for the above Linux hack lab: the floppy must be still somewhere.

    I took a fixed-term job as warehouse worker in a small ISP in my town: I frequently asked for wisdom to Linux gurus there. I was asked to install some windows machine: winnt and the new windows2000. They hired me soon. The luck was at my side

    I used perl everytime I had an occasion to do it and I played with perl in my nights: very soon I produced working code to automate stuff on windows.

    Joined perlmonks on 2002 to get support: I found the link on my copy of Perl Language Reference italian edition (my english was not so good at this time: studied on my own as perl).

    I had some problem because no one of my bosses loved so much perl (only the owner of the company) as you can see in my Murder of a Perl coder (announced).

    So I started because with perl you have immediatly something working, I continued because it can glue everything, I'm still here because the challenge never ends. Infact after circa 2007 I put a big effort on my perl because was the only fun thing of my job: see Ten (years) Here and over the time it become a passion very deeply nested in me: red thread

    Worth to mention, even if you all already know, a wonderfull communty here at perlmonks: it is still now in 2018 my only net-place and I got a lot of support and some friends too.


    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re: Why did you become a Perl expert (or programmer)?
by Eily (Monsignor) on Jun 25, 2018 at 12:19 UTC

    Oh, we had a similar conversation a few days ago in the CB :). As I said then, I started perl because I knew some PHP, and I was under the impression that perl was basically the same language, except arrays were written @array rather than $array, and that contrary to PHP it was a real language.

    I learned better about the first part since :P

Re: Why did you become a Perl expert (or programmer)?
by choroba (Cardinal) on Jun 26, 2018 at 22:06 UTC
    I started with a minimalistic Basic dialect on an Intertechnique (all commands were just one letter long - but it had an oscilloscope!) at my father's office. When I was about 12, my parents bought me a Commodore 116/16. I started with its Basic, but later learned some assembly, too (from a German book - I didn't know any German at that time, and my English was rather rudimentary). My father later obtained an XT at the black market (Eastern block was under IT embargo) with a Hercules card, and we were able to get a copy of Borland's Turbo Pascal floppies (after the fall of the Communists, he bought a legal box with all the books and stuff). Pascal was all I needed to get as far as the University and first few sidejobs.

    At the University, Pascal was the main programming language (I finished the final exam on the first lecture), but they also taught us Prolog; I also learned SQL at sidejobs. In the third year, I was introduced to *nix with tcsh, Emacs, sed, ... and Perl! A colleague used it to replace my hacky Pascal program we used to search our research data. The original script later grew into a large Tk application, and when the colleague was hired by Google, I became its primary maintainer. I later left the University for private sector, but I stuck with Perl as my main language on all the jobs - it fits my brain best of all the languages I've tried.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Re: Why did you become a Perl expert (or programmer)?
by LanX (Sage) on Jun 25, 2018 at 11:48 UTC
    I started CGIing in the early 2000nds and everyone said that the alternative (PHP) sucks.

    I also already had solid knowledge of bash and Perl had the look and feel of a clean bash++.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery


    the rather more interesting question is why I stuck with it ...

Re: Why did you become a Perl expert (or programmer)?
by karlgoethebier (Abbot) on Jun 26, 2018 at 08:27 UTC
    "Me? (Not that I'm an expert.)"

    I was forced to by my former boss at this company around 1998 or so when they separated from this company. It was also my first IT job. I guess it was because they needed an idiot for building CGI forms which could also open a terminal and operate emacs because at that time they only knew to operate Photoshop, Quark, Freehand and Illustrator on a Mac with OS 9 with a mouse. It was a magic time: Greatest success. Unbelievable for such a small company. I also maintained this website for years which was pure Perl/CGI at that time and the first bigger customer of the company.

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Re: Why did you become a Perl expert (or programmer)?
by Veltro (Hermit) on Jun 26, 2018 at 16:59 UTC

    Heard about Perl much longer ago but never thought about looking into it until one day, I did a search for a backup script and found this Perl program. So I installed Perl and downloaded the script and it worked very well. I started to become curious now, but it looked difficult, wtf are all those special characters doing...

    Then came a time that I needed find and replace something in a file and since I had Perl on my computer now I gave it a shot and started testing.

    I went back in my archives and here are the two little gems:

    while (<>) { next if /^$/; print; }


    $text = "A'B'C" ; $text = replacequote($text); print $text; sub replacequote { my $X=$_[0]; while ( $X =~ /\'/ ) { (my $l, my $r) = split ( /\'/, $X, 2); $X = "$l\\QUOTE$r"; } while ( $X =~ /\\QUOTE/ ) { (my $l, my $r) = split ( /\\QUOTE/, $X, 2); $X = "$l\\'$r"; } return $X; } sub replacequote_better { my $X=$_[0]; while ( $X =~ /[^\\]\'/ ) { #This line does not give the desired result that I have in mind (l rem +ains empty): (my $l, my $r) = split ( /[^\\]\'/, $X, 2); #print "left: $l\n"; #print "right: $r\n"; @array = split ( /[^\\]+\'/, $X, 2); print $_, "|" foreach @array; print "\n" ; $X = "$l\\'$r"; #print "new $X\n" ; } return $X; }
Re: Why did you become a Perl expert (or programmer)?
by Your Mother (Archbishop) on Jun 25, 2018 at 16:48 UTC

    Lucky timing. The wrong college degree. Envy and vanity. Aptitude. Tilly Martinez and her see-through blouses.

Re: Why did you become a Perl expert (or programmer)?
by Theodore (Friar) on Jul 10, 2018 at 12:48 UTC
    In one of my first jobs, twenty years ago, in the end of 20th century, i had to write a small web application (my first one), using asp and sql server, on NT4. For some reason it was really difficult to locate any documentation about asp back then. So, having just recently installed my first linux box, i looked for a language suited for web applications, plus a free software database. That's when i discovered Perl (and PostgreSQL). Installed Slackware in a small pc and wrote the (really simple) application in one day. Whenever i didn't knew how something was done in Perl, my first assumption/guess was right. This language had the same way of thinking as me. Never stopped developing in Perl since then.
      This language had the same way of thinking as me.

      This reason has been given by users like me and TheDamian. So you're in excellent company, partly. :P

Re: Why did you become a Perl expert (or programmer)?
by corenth (Monk) on Jul 02, 2018 at 02:28 UTC

    I can't remember. By golly, I can't remember! It was after I learned about linux, which was about a year after I learned about internet. I'm willing to bet it was before I got married. I think it was me learning how to maintain my machines over time. Then, I started playing with it to learn and make things.

    I'm not a coder by trade. I'm an English teacher. But, I feel good deep down to my toes when I make "something" happen with code. (I'm rather proud of my esolang attempts) Now, I'm using Perl as a tool to solve problems that are important to me.

    One last thing. I've tried learning other languages: C, Lisp, Haskell, Javascript, Python, others I can't recall . . . but can't get into them (I guess that shows I'm not a professional (but, that's okay)). There's an ineffable quality to the TIMDOWDIness of Perl that feels like home. Nothing else compares so far. Recently, in trying to code in a more functional way, I've fallen into a declarative programming style --learned a (not entirely?) new (for me) way of imagining code. My code is clearer, better, and as Perlish as my code ever was.

    I think it's nice that this isn't my profession. While it'd be rewarding to work in this field, I can't help but think I wouldn't find as much joy in Perl if it were a job.

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1217349]
Front-paged by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2023-06-10 18:56 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (39 votes). Check out past polls.