Help for this page

Select Code to Download


  1. or download this
    my ($x, $y) = (1,2);
    if (<some complex condition depending on the environment>) {
    ...
        } else {
        call_my_sub($y)
    }
    
  2. or download this
    my ($x, $y) = (1,2);
    if (<some complex condition depending on the environment>) {
    ...
        } else {
        call_my_sub($y)
    }
    
  3. or download this
    my ($x, $y) = (1,2);
    if (<condition>) {
    ...
        } else {
        call_my_sub($z)
    }
    
  4. or download this
    my ($x, $y) = (1,2);
    if (<some complex condition depending on the environment>) {
    ...
        } else {
        call_my_sub($y)
    }
    
  5. or download this
    if (<some complex condition depending on the environment>) {
        my $x = 1;
    ...
        my $y = 2;
        call_my_sub($y)
    }