Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Monday August 25, 2003
11:56 AM

Scalar I/O

[ #14309 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.