in reply to use has it's own scope?

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^2: use has it's own scope?
by kcott (Archbishop) on Aug 08, 2017 at 04:14 UTC
    "... the syntax ... is quite unfamiliar to me."

    The fix for that would be to learn the language and familiarise yourself with the syntax.

    "I rather suspect that Perl didn’t understand use set my $y =666; at all, ..."

    You could have just run some very simple tests to determine the validity of that.

    $ perl -Mwarnings -Mstrict -E 'say "@INC"' /some/path /other/path ... $ perl -Mwarnings -Mstrict -E 'use lib; say "@INC"' /some/path /other/path ... $ perl -Mwarnings -Mstrict -E 'use lib my $x = "fred"; say "@INC"' fred /some/path /other/path ...

    I've downvoted your post.

    — Ken

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: use has it's own scope?
by Anonymous Monk on Aug 08, 2017 at 08:40 UTC
    > "is quite unfamiliar to me"
    Because it's not lies, abuse or racism, it's Perl.