in reply to s/this/$that/ Gives Variable Name, Not Contents of Variable
I would suggest that you get to the basics. Forget this file I/O stuff and just get to some simple example of the substitution involved. That may help you figure this out yourself. Of course the standard advice of "use strict; use warnings;" is often helpful.
|
|---|