$foo = ( split /pattern/, $string ) [ number ]; #### ( returns_a_list )[ index ] #### ( returns_a_list )[ index, index ]