in reply to Re^2: Syntax Question Related to "join" on a Complex Data Structure
in thread Syntax Question Related to "join" on a Complex Data Structure

Hi perldigious,

tybalt89's suggestion appears to be Postfix Reference Slicing, which is part of the new Postfix Dereference Syntax, which says:

In Perl 5.20 and 5.22, this syntax must be enabled with use feature 'postderef'. As of Perl 5.24, no feature declarations are required to make it available.

Hope this helps,
-- Hauke D

  • Comment on Re^3: Syntax Question Related to "join" on a Complex Data Structure
  • Download Code

Replies are listed 'Best First'.
Re^4: Syntax Question Related to "join" on a Complex Data Structure
by perldigious (Priest) on Oct 26, 2016 at 13:15 UTC

    That does help, thanks haukex. That use feature 'postderef'; reduced the warning to:

    Postfix dereference is experimental at Web_Chat_IP_Match.pl line 142.

    So "sufficiently modern" really meant "the most recent version" then. :-)

    I'll probably stick to the old block notation anyway, at least for the near foreseeable future. I'm just more comfortable with it I guess.

    I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
    I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious

      Hi perldigious,

      Oh, right, forgot about that. You can disable the warnings yourself, or there's experimental:

      use feature 'postderef'; no warnings 'experimental::postderef'; # - OR - use experimental 'postderef';

      Regards,
      -- Hauke D