in reply to Re^2: Need to replace string from external file
in thread Need to replace string from external file

Are you copying and pasting this from somewhere? Why are you using File::Slurp when you're already using Path::Tiny?

  • Comment on Re^3: Need to replace string from external file

Replies are listed 'Best First'.
Re^4: Need to replace string from external file
by bhupi70007 (Novice) on Nov 06, 2017 at 11:55 UTC
    yup i am copying as i have already created a script for it.

      I mean did you find the basis for this online somewhere, which you'd copied/pasted. Don't use File::Slurp (explained here, and elsewhere) as you're already using File::Path.