in reply to Writing variables to Files

Sounds like CGI.pm is what you are looking for. Look here under "Saving the State of a Form".

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;