dereference question

Joel Fentin joel at
Sun Mar 9 00:31:57 CST 2003

open(INFILE, "<xxx.htm");
$_ =~ s/\$D/${\$D}/g; #line 1
$_ =~ s/\$D/$D/g;      #line 2

In my application, both line 1 and line 2 seem to do the same job, thus
revealing the value contained within. But they won't work for $E or $F. Is
there a line of code which will apply to all referenced scalars that are
read in from the file?
Joel Fentin    tel: 760-749-8863    FAX: 760-749-8864
email:   joel at


The posting address is: san-diego-pm-list at

List requests should be sent to: majordomo at

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at> .
This is the general rule for most mailing lists when you need
to contact a human.

More information about the San-Diego-pm mailing list