in reply to Re^10: Help editing a file based off seach criteria
in thread Help editing a file based off seach criteria
Have you actually tested your code? Assigning to $. does not reset the file pointer in any way. You need to either use seek, or go a step back and look at the original suggestion of using Tie::File. Or, actually, start thinking about the approach I outlined twice already.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Help editing a file based off seach criteria
by perlnewb123 (Sexton) on Jan 13, 2009 at 18:07 UTC | |
by Corion (Patriarch) on Jan 13, 2009 at 18:13 UTC | |
by perlnewb123 (Sexton) on Jan 13, 2009 at 18:31 UTC | |
by Corion (Patriarch) on Jan 13, 2009 at 18:45 UTC |