Think about Loose Coupling | |
PerlMonks |
Re^2: HTTP::Proxy traffic calculatingby b888 (Beadle) |
on Feb 22, 2005 at 14:37 UTC ( [id://433344]=note: print w/replies, xml ) | Need Help?? |
The main problem is that incoming data (response from external sources) comes to defined filter in chunks. For example for google.com there are 4 chunks, means 4 calls of sub defined in $proxy->push_filter(response => ...And $$buffer value seems desapearing in last (always 0-sized) chunk. p.s. Thanks for great component :) Broken code tag repaired by davido.
In Section
Seekers of Perl Wisdom
|
|