[0] Perl> sub giveList { return 1 .. 10; } print +( giveList() )[ 2 ]; ;; 3 [0] Perl>