in reply to Re: How to find out if an argument is an LVALUE ?
in thread How to find out if an argument is an LVALUE ? (TinyPerl)

I'm using TinyPerl 5.8 now. I am surprised that there is such a big difference in how references are created in two distinct Perl versions. I mean 5.8 is not such an ancient version. I would say that Perl 4 is ancient. Nobody uses that anymore. lol
  • Comment on Re^2: How to find out if an argument is an LVALUE ?

Replies are listed 'Best First'.
Re^3: How to find out if an argument is an LVALUE ?
by LanX (Saint) on Nov 09, 2023 at 15:10 UTC
    A proper 5.8 may throw the right warnings.

    But according to the project page is Tiny Perl cutting off a lot of the code in order to condense the size to tiny (sic)

    And did you ever check if the constant/read-only values were really changed?

    Anyway please be kind and tag such posts in the title with Tiny Perl in the future, like the Perl4 and Raku folks do.

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

      Okay. I will do that!
Perl 5.8 (was: Re^3: How to find out if an argument is an LVALUE ?)
by Bod (Parson) on Nov 09, 2023 at 13:54 UTC

    Perl 5.8 is listed as a Legacy version and is now over 20 years old.

    In my mind, that counts as ancient!

Re^3: How to find out if an argument is an LVALUE ?
by eyepopslikeamosquito (Archbishop) on Nov 09, 2023 at 21:49 UTC

    I mean 5.8 is not such an ancient version. I would say that Perl 4 is ancient.

    Perl 4? Why not go all the way back to Perl 1? Now that you have a Linux box, you can build it from source a lot quicker than building a modern perl. Runs a lot faster too, without all those pesky modules slowing things down. ;-)

    👁️🍾👍🦟
      Ubuntu used to come with a system perl already pre installed, not sure about Ubuntu 23.

      I know system perl is not ideal for installing further modules for development, but for checking lvalues it's more than enough.

      On a side note, I recently I managed to break the only terminal installed "gterm" just by installing another python app via apt-get. Talking about the downsides of fiddling with system python.

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

        Ubuntu used to come with a system perl already pre installed, not sure about Ubuntu 23 ... for checking lvalues it's more than enough

        Sure, sure. In How do I install a Perl module? he indicated he had perl running on his Ubuntu box and was seeking advice on installing a CPAN graphics module. Unfortunately, he went quiet after that and didn't report back how it all went ... presumably not well if he's back on the dreaded TinyPerl on Windows XP. :)

        👁️🍾👍🦟