[sf-perl] conditional "no warnings 'threads'"

David Christensen dpchrist at holgerdanske.com
Sat Aug 1 18:40:38 PDT 2020


On 2020-08-01 16:12, Joseph Brenner wrote:
> This sort of thing works:
> 
> my $test_mode = 0;
> {
>     no if $test_mode, 'uninitialized';
>     my $nada = undef;
>     my $string = "Nothing much: $nada";
>     say "$string";
> }

Thank you.  :-)


David


More information about the SanFrancisco-pm mailing list