Help for this page

Select Code to Download


  1. or download this
    package Demo1;
    
    ...
    }
    
    1;
    
  2. or download this
    package Demo2;
    
    ...
    };
    
    1;
    
  3. or download this
    
    #!/usr/bin/perl
    ...
    print "\$SUCCESS: $SUCCESS\n";
    
    exit;
    
  4. or download this
    Bareword "SUCCESS" not allowed while "strict subs" in use at ./demo.pl
    + line 9.
    Execution of ./demo.pl aborted due to compilation errors.
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    print "\$SUCCESS: $SUCCESS\n";
    
    exit;
    
  6. or download this
    SUCCESS: 0
    $SUCCESS: 1