#!/usr/local/bin/perl my $debug = 1; use warnings if ($debug == 1); use Data::Dumper if ($debug == 1); syntax error at ./test8.pl line 3, near "use warnings if" Execution of ./test8.pl aborted due to compilation errors.