in reply to im in need of ur expert guidance.
Read perlsub (has lots of usage examples, even though it is a reference and not a tutorial), you are calling the subroutine, but without parameters and without storing the return-value somewhere.
functions are not magical. You have to tell them what data they have to operate on and you have to tell them where to store the result
|
|---|