use strict; : strict « Language Basics « Perl






use strict;

    



#!/usr/bin/perl -w

use strict;

$x = 10;
print $x;

   
    
    
    
  








Related examples in the same category

1.use strict 'refs';
2.use strict 'subs';
3.use strict 'vars';
4.use strict Pragma
5.'use strict' and subroutine
6.'use strict' with package
7.no strict 'refs';
8.The strict Pragma
9.Using the strict Pragma