Having read the second page of Nat and Tom's "Cooking with Perl" article, I really wish scalar I/O was available in earlier versions of perl. In my SAUCE and XBin modules, i use a combination of a $counter variable and the substr() function to read data out of strings. Instead, I could then use the same read_data() and write_data() methods as i do with regular filehandles.
Handy.
IO::Scalar? (Score:2, Informative)
Re:IO::Scalar? (Score:1)
Hey Juerd, thanks for the reply.
Sucks that it adds another dependency, but it sure does fit the need! You rock, thanks. :)