Help for this page

Select Code to Download


  1. or download this
    $ perl -E 'sub t { @_ ? "ab" : "b" } say for t(), t(), t(0), t(1)'
    b
    b
    ab
    ab
    
  2. or download this
    $ perl -E 'sub t { $_[0] ? "ab" : "b" } say for t(), t(), t(0), t(1)'
    b
    b
    b
    ab