in reply to Problem with getting the right object

A style note completely unrelated to your problem. You can interpolate your variables into quotes in a number of spots. For example,
print $hu_out "Name: ", $hu_name, "\n";

can be simplified as:

print $hu_out "Name: $hu_name\n";

Also, it is good practice to check the success of open.

Replies are listed 'Best First'.
Re^2: Problem with getting the right object
by lomSpace (Scribe) on May 19, 2009 at 12:25 UTC
    Hi Toolic!
    Open works. I will reformat the post using 'read more' tags.
    Can you help me get the two files with the variables that I want? Also, I am getting a list of glob objects, which contain the two alignment strings. I want to return the alignment strings to the hu_aln and and hd_aln respectively. I appreciate your help.