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

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.
  • In general, if your file is line-based, you are probably best off using Tie::File; if you need to change characters (bytes) at a specific location in the file, then you probably want to use things like seek, tell, and the update file open option.

    I put this here not because Ovid doesn't know it, but in case anyone was reading and wondering. ;) There are many other solutions, and it definitely depends on a lot of factors.

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers