Hi everyone. A little thing I fail to understand... This of course works: $name="Dave"; $string="Hello $name"; print $string; outputting: Hello Dave
Why, then, does it not work when I get the string "Hello $name" out of a file? $name="Dave"; $in="textfile.txt"; open(INFILE, "<$in"); @string=<INFILE>; $string="$string[0]"; print $string; The output is: Hello $name Thanks a million if anyone has the answer Dave Jones -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]