how to use perl modules



hello all,
i've wrote a small test subroutine in my file name test.pm and in the same directory i worte
a perl file in which i've to call this subroutine in this perl program

I dont know how to use perl modules
pls let me knwo abt that as it will solve my lots of problems

test.pm

sub ReturnValue()
{
my $a=10;
return ($a);
}

call.pl

use test;
print ReturnValue();


--I don't know abt the moduls in perl

Pls help me in this regard asap

waiting for reply from perl group

Thanks
Beginner