in reply to Retrieve only what I need from split without using temp array

Two ways come to mind immediately:
my (undef, undef, $third) = split ",", $foo;
or
my $third = (split ",", $foo)[2];

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.