Keith Devens .com |
Friday, March 19, 2010 | ![]() |
| Anything is possible if you don't know what you're talking about. – unknown | ||
|
| ← Switching spam filters | Unicode design flaws? → |

Sam Kington (http://www.illuminated.co.uk/blog/) wrote:
Keith (http://www.keithdevens.com/) wrote:
Man, I need to be better acquainted with Perl's standard library and CPAN. Thanks.
Harry Fuecks (http://www.phppatterns.com) wrote:
If you ever try the same thing in PHP, you might be interested in stream_wrapper_register
Keith (http://www.keithdevens.com/) wrote:
Man, that's awesome. I had no clue that existed either.
Mark (http://diveintomark.org/) wrote:
In Python, use the StringIO module (or cStringIO if available):
from StringIO import StringIO
stream = StringIO('foo')
print stream.read() # or whatever
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.115s.
(Used 8 db queries)
Alternatively, for other versions of Perl, use IO::Scalar.