in reply to Perl tutorial building on Python skills?

I don't have materials of my own, but some points: especially with a Python background, some of the differences stand out:
  • Comment on Re: Perl tutorial building on Python skills?

Replies are listed 'Best First'.
Re^2: Perl tutorial building on Python skills?
by LanX (Sage) on Oct 20, 2021 at 11:08 UTC
    Thanks for the valuable input of all of you , didn't have the time to reply in detail yet.

    I have to wait to meet the new colleague to assess which kind of programming/python skills be already has.

    After all Python is the new Basic, everyone claims he knows it. I don't wanna end up explaining Python to him or giving a class in language design...;)

    > "PCRE" are not 100% "PC".

    Minor nitpick. PCRE is also the name of an RE engine used by several products including PHP. Python has its own RE engine, trying to be PC

    > Differences


    • function signatures
    • Most (all?) variables are references
    • strings are immutable
    • regex are first class objects in Perl
    • list flattening/interpolation in Perl

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