in reply to Problem with do statement
You need a semicolon after the end of the do block to finish the statement.
I'm curious why you want to do that. The standard open my $fh, '<', $file or die 'Error xxx'; would have the same effect, but could run unattended.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with do statement
by revdiablo (Prior) on Apr 18, 2005 at 17:22 UTC |