in reply to Re: No, it is not
in thread Is this code correct
Then no, it's not correct.
The brackets don't match.
Try putting use diagnostics; at the start of your script, if you're having trouble understanding Perl's error messages. This will make the error messages more 'explainy'.
|
---|
In Section
Seekers of Perl Wisdom