Help for this page

Select Code to Download


  1. or download this
    $n = 1; 
    $m = 2; 
    ...
    
    sub { print \$_[0], \$_[1] }->( $n, $m );;
    SCALAR(0x3d3cf08) SCALAR(0x3e12508)
    
  2. or download this
    sub { print \$_[0], \$_[1] }->( $n+1, $m+1 );;
    SCALAR(0x3cc86d0) SCALAR(0x3d3f320)
    
  3. or download this
    [0] Perl> sub { print \$_[0], \$_[1]; +$_++ for @_ }->( $n+1, $m+1 );;
    SCALAR(0x3cc86d0) SCALAR(0x3d3f320)
    2 3
    
  4. or download this
    print $n, $m;;
    1 2