in reply to string variable merge issue

Try removing the trailing newline characters while reading the file with chomp $data;.

In general it would be helpful if you provided us a script that actually runs; you can point out problems in comments.

Replies are listed 'Best First'.
Re^2: string variable merge issue
by coding_new (Sexton) on Jan 10, 2011 at 18:49 UTC
    Thank you for your suggestions. I will keep that in mind for next time. I did add the chomp and that helped, but then I also realized that I had to remove my space in between the xxx and the .sh. Its working now. Thank you for your help..