Help for this page

Select Code to Download


  1. or download this
    $x= cond() ? this() : that();
    # vs.
    ...
    } else {
        $x= that();
    }
    
  2. or download this
    my $x= cond() ? this() : that();
    # vs.
    ...
    } else {
        $x= that();
    }
    
  3. or download this
    $x= cond() ? this() : that();
    # vs.
    ...
        }
    }
    $x= pick();
    
  4. or download this
    my $x= DoSomething(
        cond() ? this() : that(),
    ...
        foo() ? bar() : baz(),
        $blah,
    );
    
  5. or download this
    s{
        # Some fairly complex parsing regex
    ...
            "somethingElse";
        }
    }gex;