in reply to Re^4: Edit in place (part2)
in thread Edit in place (part2)

Seems to me that CountOrlok is on to something there. If you replace the sub with a string constant does the problem go away?

Perhaps you need to examine the contents of the sub. Presuming that that is where the problem is, try removing stuff from it until the problem goes away. If you can't find the issue that way, strip the code down to the point where you can show it to us and post it as a new SoPW.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^6: Edit in place (part2)
by jzb (Hermit) on May 01, 2006 at 21:27 UTC
    Yes, if the $myvar is given a string the problem goes away. I'm confused as it's only asking for an ip address to use to sub in a file with a placeholder.

      Asking what? The user? Scraping a web site? Spelunking in a file or system setting? If you can't answer the question then you better sanitise your code and post it. Most likely though it's asking the user and the user doesn't deign to answer.


      DWIM is Perl's answer to Gödel