06/01/02 17:20:37, Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> a écrit:
>The contents of @string are raw text. You'll need to expand the variables
>in it manually:
>
> perldoc -q 'expand variables'
>
>That FAQ will tell you what to do.
Thanks, Jeff, for taking the time to answer.
My problem was,
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(I