On Tue, Jul 24, 2001 at 02:34:48PM +0100, KAVANAGH, Michael wrote:
> print <<"EOF";
> text text text $item{'key'} text text
> EOF
>
> The value from the hash variable $item{'key'} doesn't seem to be
> interpolated. It doesn't generate an error though.
What string are you seeing printed? What did you expect to see printed?
What value do you expect $item{'key'} to have? What value does it have when
you view it in the debugger, and/or print it out in your code?
This code:
#!/usr/bin/perl -w
$item{'key'} = "<this is item{'key'}>";
print <<"EOF"
text text text $item{'key'} text text
EOF
Outputs:
text text text <this is item{'key'}> text text
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]