in reply to Re: Strange syntax question
in thread Strange syntax question

Take it home and use it, certainly, but don't leave that loaded global variable lying around where it can hurt someone!

>perl -wMstrict -le "use constant FOO => 'bar'; ;; DoIt(); ;; sub DoIt { my $it = shift // FOO; print qq{it is '$it'}; } " it is 'bar'