#not returning anything. sub calling{ $value=addem(2,2); } sub addem{ ($value1, $value2)=@_; $value1+$value2; print join(",", caller 1); }