in reply to Substituting Variables while reading text file
s///
use warnings; use strict; my $VAR = 'TEMP_VAR'; while (<DATA>) { s/\$VAR\b/$VAR/g; print; } __DATA__ create variable $VAR alarm_object 0
In Section
Seekers of Perl Wisdom