On Wed, 27 Jun 2001, Gross, Stephan wrote:
> I'm using Win32::GUI. I create a text field and call it $TextField. The
> user inputs some text, say "abc".
> If I say
> print "$TextField->Text";
> I get
> Win32::GUI::Textfield=HASH(0x23762b0)->Text
> If instead I say
> $x = $TextField->Text;
> print "$x";
> I get
Is Text a method for the $TextField object? You can't interpolate methods
(functions) directly in a string like this. You need to capture the
return value from the method first and then use that.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
All I want is a warm bed and a kind word and unlimited power.
-- Ashleigh Brilliant