Julien Motch wrote:
>
> Hi ,
Hello,
> There is one thing I could not explain about printing references .
> Take this little program :
>
> #!/usr/bin/perl
> use Mail::POP3Client;
>
> $pop = new Mail::POP3Client(HOST => "pop.skynet.be");
>
> print $pop->Host(); #OK print pop.skynet.be
> print "\n";
> #The next line printsd the reference why ?
> print("the host which you are connecteed to is $pop->Host()\n"); #
>
> exit(0);
> #end of the program
>
> The output of the program is :
> pop.skynet.be
> the host which you are connecteed to is
> Mail::POP3Client=HASH(0x8153a8c)->Host()
>
> could someone explain me why this happens , I am swimming in the blur .
perldoc -q "How do I expand function calls in a string"
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]