in reply to index into list returned by subroutine
$val = ( func() )[ 1 ]; $val = ( &func )[1]; [download]