Thank you rovf. Yes, I can write the variable into a file, but this sounds complex. I am looking for a simpler solution like your suggestion to right into stdout. Could you elaborate on your answer? Why would I eval it on the output of the perl if I need to access it in the shell. I thought maybe to write to a stdout in the perl, and then somehow get it in the shell. A code snippet would be helpful. Thanks much.