in reply to Using return values in subroutines

sub main { second(first()); }
Now second sees the output of first via @_.

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