in reply to Re: How to get 0 to initialize a value
in thread How to get 0 to initialize a value

Thank you for your very thought out responce, Marshall. I would love to use Perl 5.10; however, my ISP uses CPanel, and the CPanel version they have uses Perl 5.8.8 STILL. To say I am frustrated is putting it mildly. I am writing Dark Age Perl. So, I do things the long way around most of the time when I write Perl, except when I am writing Perl just for myself, then I can use 5.20.2 because that is what Debian Jessie comes with.

Bad data, and bad me for not double checking, is to blame for my problem. I fixed it now.

Again thank you for your time and effort.

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena
  • Comment on Re^2: How to get 0 to initialize a value

Replies are listed 'Best First'.
Re^3: How to get 0 to initialize a value
by Marshall (Canon) on May 03, 2019 at 08:54 UTC
    Hi Lady_Aleena!

    Thank you for your kind words. I was trying to help.

    As far as Perl versions goes, it is possible to install your own version of Perl even if the system default version is 5.8. I do believe that a system Perl 5.8 is still common. Perl has become part of the unix "biosphere" and is assumed to be there for the O/S to do its job. I can understand why coding to 5.8 makes sense for programs needed by the O/S. Tackling the problem of "user versions of Perl" requires another thread.

    Perl 5 is like an evolving biological organism. It morphs and adapts. However, not every new gizmo that shows up in the latest release of Perl version is worthy of use in production code. I played with the "smart match" operator and decided that it was too smart for me - I couldn't be sure exactly what it was going to do. Maybe the ambiguities of that operator have been worked out or not? In any event, I can write a lot of code without needing it.

    Some new Perl features like the "//" operator make a lot of sense because it is so clearly different than the "||" operator. I find some features like: say "xyz"; to be goofy and completely unnecessary. Perl is not Python.

    Hang in there, Perl is a great language.