I'm sure this is an easy one but after Googling for hours, I still don't get it. Given the following subroutine, how do I return the result array? Nothing I try works.

sub GetMarmots
{
        @result = ();
        $result{'steppe marmot '} = 4;
        $result{'himalayan marmot'} = 3;
        $result{'mongolian marmot'} = 1;
        $result{'woodchuck'} = 6;
        
        return @ result;
}

Thanks in advance,

Ken


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to