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'
In reply to Re^2: Strange syntax question
by AnomalousMonk
in thread Strange syntax question
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |