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 |