| Gil Vidals 2006-01-12, 7:12 pm |
| I'm working on my first POE application. POE seems terrific by the way.
In any case, my program uses PoCo::Client::TCP and I found a program on the
net that I used as my guide.
<http://cpan.uwinnipeg.ca/htdocs/POE...k-Manager/POE/C
omponent/Client/Asterisk/Manager.pm.html#examples>
http://cpan.uwinnipeg.ca/htdocs/POE...-Manager/POE/Co
mponent/Client/Asterisk/Manager.pm.html#examples
The program has:
$heap->{client} = POE::Component::Client::TCP->new (.....
However, $heap->{client} is never used after it's initial assigment above.
I'm not sure if I should use it this way or just say:
POE::Component::Client::TCP->new (.....
Please help me understand under what circumstances would I want to code with
the $heap->{client} and when I should not. It seems pointless to me to have
$heap->{client} just hanging around and taking up memory.
Gil.Vidals@PositionResearch.com
Position Research, Inc.
Search engine results by research
tel: (760) 480-8291 fax: (760) 480-8271
www.PositionResearch.com <http://www.positionresearch.com/>
|