Help for this page

Select Code to Download


  1. or download this
    package Defined;
    
    ...
    }
    
    1;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    $var = 1;
    print $var;
    $var = 5
    
  3. or download this
    bash-3.00$ ./test.pl
    main ./test.pl 11 -> $var undefined
    main ./test.pl 12 -> $var defined with value 1
    main ./test.pl 13 -> $var defined
    main ./test.pl 14 -> $var defined with value 5