My scripting experience back then came from BASIC (and limited Bash)

I think what impressed me first was the for LIST syntax. And the metaprogramming with eval and `backticks`

I had prior experience with TCL for a job, and Lisp for Emacs, but don't remember much from this experience.

Bash has actually a lot of hidden features which are badly documented (it took me years to find out functions were possible) that's another point where Perl/perldoc shines.

My first Perl scripts looked a lot like bash, I even shelled out with backticks when I didn't know how to implement things in Perl.

Perl was good in slowly phasing in. (Problem is: Some people never left that get it done phase...)

I remember stumbling over map and grep wondering WTF these are needed to.

And I immediately got bitten by missing function signatures and prototypes.

sub func() {...} didn't do what I was expecting it to do...

And I ignored strict, I still have productive scripts which need to be adapted.

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


In reply to Re: When you first encountered Perl, which feature amazed you the most? by LanX
in thread When you first encountered Perl, which feature amazed you the most? by talexb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.