> print "Value of code is: $res->code\n";
> 
> you get:
> Value of rescode is: HTTP::Response=HASH(0x176517c)->code
> 
> I can do
> print "Value of code is: " . $res->code . "\n";

Its more effecient to pass arguments to print() using commas:

 print 'Hello ', $res->code(), ' World';

Than trying to make Perl interpolate them inside of the string.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to