in reply to DialogBox needs Entry, Text
I don't see any *direct* reason that your entries aren't present, but I do see some other mistakes. You have one repeated syntax error, and one logic error. First, you're separating statements with commas and not semicolons. That makes them into clauses, not separate statements:
my ($i) = ('bar', 'baz'), print "foo\n"; print "<$i>\n";
Besides that, if the file open fails, you'll still try to print on a closed filehandle. That's pretty unnecessary.
|
|---|