>>>>> ""Matthew" == "Matthew J Avitable" <[EMAIL PROTECTED]> writes:

"Matthew> You could also invoke perl 5.8's ability to treat an in-memory string 
as a
"Matthew> file:

You can, but that's rapidly sliding into "obfuscation" territory.  You already
have the data... why shove it out as a filehandle and back in line by line,
when all you need to do is split the data up by lines?

string-as-filehandle is mostly to work around legacy systems that want a
filehandle but you actually want the data in memory.  Don't invent *new*
interfaces that *require* their use.  Ugh.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to