Hello all, I have yet another problem! (Yay.) This time I have a problem with getting the System command to work with info in an external data file.
The code snippet I'm dealing with looks a bit like this:
The code snippet I'm dealing with looks a bit like this:
Code:
$runfile = "run.tmp";
open(CVSRUN, $runfile) or die
...
system "cvs admin $runfile"
[code]
All the info that I need to change CVS's repository is in the file $runfile, but I can't get at the contents of $runfile with this command - so it ends up replacing things in CVS willy-nilly with "$runfile". (Um...or so I've been told, anyway. Naturally, I, um, wouldn't do anything so careless as to execute an unfinished code fragment. (Don't worry, I've got a backup handy.))
Any help with this will be very much appricated.
Thanks,
Meatsim