in reply to Re: Run a variable as a line of code?
in thread Run a variable as a line of code?

Thanks, GrandFather, but that brings up an interesting thing.

I liked your code because it was more elegant, so I switched mine to use Perl's edit inplace - but then noticed that the updated file no longer had the original owner.

My original script kept the original owner on the file, without having to 'chown' it back, and we do need to retain the original owners in this case.

  • Comment on Re^2: Run a variable as a line of code?

Replies are listed 'Best First'.
Re^3: Run a variable as a line of code?
by GrandFather (Saint) on Apr 06, 2006 at 19:26 UTC

    Sorry, I'm a Windows user and don't generally notice that sort of issue. If no-one replies to the question buried in this thread, repost it as a SoPW in its own right.


    DWIM is Perl's answer to Gödel