in reply to Subroutines and Passing data ...

> p.s. I have been reading on subroutines but this doesn't seem very clear ! ;-)

I found at least 3 examples that show what you wanted to know in perldoc perlsub.

There's always one more bug.