-----Original Message-----
From: Bennett Haselton [mailto:[EMAIL PROTECTED]]

>I like being able to write
>
>print "Value of var is: $var\n";
>
>but with variable names like or $res->code, if you try to do
>
>print "Value of code is: $res->code\n";

HUH? $res->code is not a variable, it's a call to a method. Is that what you
mean? Because if you really mean a variable, than it should be

print "Value of code is: $res->{code}\n";

which works.

Sorry for being pedantic, but it's unclear what you mean, and I don't think
the other respondents have noticed the contradiction in your question.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to