Help for this page

Select Code to Download


  1. or download this
        ..., scalar param($name), ...
    
  2. or download this
        ... ( multi_param($name) )[0] ...  # First value
        ... ( multi_param($name) )[-1] ... # Last value
    
  3. or download this
        my( $one, $two );
        while( ( $One, $two ) = ( get_list() )[0,3] ) {
            # Loops until get_list() returns an empty list.
        }
    
  4. or download this
        my $scalar;
        while( ( $scalar ) = ( get_list() )[0] ) {
            ...
        }