|Think about Loose Coupling|
I've written this into my code and it works perfectly! :-) I'll tweak it a bit and get it working with the other features in my module. But that's exactly what I was after. Big ++ !!!
I'm just running a benchmark now to see a comparasion against the alternative solution of returning files as arrays.
I intend to leave both methods in the module so it gives the user the choice of streaming or returning via arrays.
Here are the benchmark results:
As you can see returning via array's is faster.
Once again a big thank you!
The Funkster of Mirth
Programming these days takes more than a lone avenger with a compiler. - sam
RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers