http://qs321.pair.com?node_id=11124206


in reply to Re^3: A short whishlist of Perl5 improvements leaping to Perl7
in thread A short whishlist of Perl5 improvements leaping to Perl7

I agree with the origins; I just wish that Perl had rolled a no strict; into -e rather than providing no constraint on variables in proper scripts.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^5: A short whishlist of Perl5 improvements leaping to Perl7
by LanX (Saint) on Nov 25, 2020 at 17:06 UTC
    The "original sin" was backwards compatibility to Perl 4, which had no my or strict .

    Back in the time piggybacking private variables had huge advantages, but it led to paradoxes, complexity and mounting technical debt.

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