Help for this page

Select Code to Download


  1. or download this
    print (1,2)[0];
    
  2. or download this
    (print(1,2))[0];
    
  3. or download this
    print((1,2))[0];
    
  4. or download this
    $ perl -we'print (1,2)[0];' 2>&1 |splain
    print (...) interpreted as function at -e line 1 (#1)
    ...
        operators arguments found inside the parentheses.  See 
        perlop/Terms and List Operators (Leftward).
    ...