in reply to Re: use has it's own scope?
in thread use has it's own scope?

"... 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

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.