Hi All, I want to check if a sub routine that I am calling returns a value or not. This is how my code is $str = function(parameter)
sub function { ........ ...... ........ } the sub routine function in turn uses many other function. Some of these functions have a return statement and some do not. So, when i invoke the sub routine "function" and i pass the returned value into $str, I need to check if $str has any value assigned or not. Can you tell me how I could accomplish this? Thanks, Vijay ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/