in reply to Re^4: getting headers from essage
in thread getting headers from essage

Yes, sorry, that's what I meant and clearly demonstrated.

Replies are listed 'Best First'.
Re^6: getting headers from essage (deref LIST warning?)
by LanX (Saint) on Dec 16, 2025 at 21:24 UTC
    Sure, I just wanted to highlight why it looked so weird.

    But the question remains if Perl shouldn't better throw a warning if there's a list inside a dereference.

    I can't see any reason why not, except backwards compatibility to bad code which fails on warnings (convoluted case tho)

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