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

Re: When you first encountered Perl, which feature amazed you the most?

by LanX (Saint)
on Mar 28, 2025 at 20:22 UTC ( [id://11164477]=note: print w/replies, xml ) Need Help??


in reply to When you first encountered Perl, which feature amazed you the most?

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11164477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2026-04-11 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.