in reply to Pipe and extract

If you want to use arrays, then the following can help

my @arr=`uptime`; my @personal = split(/,/, $arr[0]); print $personal[3];