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

David Christensen dpchrist at holgerdanske.com
Sat Aug 1 18:39:01 PDT 2020


On 2020-08-01 16:11, yary wrote:
> I think you have the condition backwards?
> my $test_mode;
> BEGIN { $test_mode=1 }
> no if $test_mode, qw[warnings threads];
> 
> 
> 
> perldoc if

Thank you for directing me to conditional 'use' and 'no'.  These will be 
useful.  :-)


David


More information about the SanFrancisco-pm mailing list