in reply to Jumping in over my head again

I am unclear on how you plan to find this character's position. But if you can, then you can read lines and use substr to pull out the character, you can use seek to reset your position in the file. In perlvar you can find $/, which can be handy for reading to specific positions. (Alternately you can read through it and then find the stuff you want manually.) And if you want you can have the filehandle tell you where it is in the file.

Before playing with this stuff, if you are on Windows it is highly recommended that you first binmode.

And by the time you are done, well you probably will understand file manipulation in more detail than you do now...

Of course if the file is small, you can just slurp it into a string and make your life much, much easier...

  • Comment on Re (tilly) 1: Jumping in over my head again