Thanks for the quick reply :) it worked
In reply to Re^2: Returning multiple values from a subroutine by rkrish in thread Returning multiple values from a subroutine by rkrish