in reply to Re^2: Not A Rockstar File Manipulator Today
in thread Not A Rockstar File Manipulator Today
Inline debugging is really, really helpful in cases like this. You might also want to change the
toprint OUT $_;
to print your lines on the screen.print ;
And for a sanity check, you might put something like:
before your open commands. Just to make sure you're opening the file(s) you think you're opening.print "\$in_file: $in_file \n"; print "\$out_file: $out_file \n"; print "\$pattern : $pattern\n"; print "\$replacement: $replacement\n";
|
|---|