Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        *call_to_inspect = ( rand() < 0.5
    ...
            : sub (@) {}
        );
    }
    
  2. or download this
    BEGIN {
        *call_to_query = ( rand() < 0.5
    ...
    
    sub inspector { print wantarray ? 1 : 0, "\n" }
    call_to_inspect(inspector());
    
  3. or download this
    >perl a.pl
    1
    ...
    
    >perl a.pl
    1