in reply to Introspecting type informations?

Hi LanX.

I tried just adding -wMstrict and the DB line no longer continued to show when being deparsed.

As you had not mentioned this in the OP I think that would be the first thing to consider.

C:\Users\deutoronomy>perl -wMstrict -MO=Deparse -e "my DB $x" BEGIN { $^W = 1; } use strict 'refs'; my $x; #<-- no DB -e syntax OK

Could Concise be introducing strict compliance at some point?

Replies are listed 'Best First'.
Re^2: Introspecting type informations?
by LanX (Saint) on Aug 04, 2019 at 12:16 UTC
    Unlikely, I'd rather say your system is buggy.
    $ perl -wMstrict -MO=Deparse -e 'my DB $x' BEGIN { $^W = 1; } use strict; my DB $x; -e syntax OK $

    Thanks for the interesting observation! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

    update

    couldn't reproduce on win

    C:\>perl -wMstrict -MO=Deparse -e "my DB $x" BEGIN { $^W = 1; } use strict; my DB $x; -e syntax OK