Help for this page

Select Code to Download


  1. or download this
    (my $t = shift) and print $t;   # Fails.
    
  2. or download this
    print $t if (my $t = shift);       # Fails.
    my $t = shift; print $t if $t;     # Ok.
    if (my $t = shift) { print $t; }   # Ok.