my $var = "1:2:3:4:5:6"; my $x = (split":",$var)[4]; [download]
In reply to Re: subroutine()[$x]; by tilly in thread subroutine()[$x]; by devslashneil