Help for this page

Select Code to Download


  1. or download this
    # perl
    BEGIN {
    ...
    
    print "XYZ\n";
    print "$shbstatus\n";
    
  2. or download this
    XYZ
    1
    shb existed
    
  3. or download this
    # perl
    BEGIN {
        my $shbstatus = (-f "C:/shb") ? 1 : 0;
    }
    
  4. or download this
    XYZ
    Use of uninitialized value in concatenation (.) or string at begin.pl 
    +line 15.
    
    shb was not identified
    
  5. or download this
    # perl
    use strict;
    BEGIN {
        $shbstatus = (-f "C:/shb") ? 1 : 0;
    }
    
  6. or download this
    Global symbol "$shbstatus" requires explicit package name at begin.pl 
    +line 4.
    BEGIN not safe after errors--compilation aborted at begin.pl line 5.
    shell returned 9
    
  7. or download this
    # perl
    BEGIN {
    ...
    BEGIN {
        $shbstatus = (-f "C:/shb") ? 1 : 0;
    }
    
  8. or download this
    XYZ
    1
    shb identified