in reply to Re^2: Can't "last" outside a loop blockin thread Can't "last" outside a loop block
You only post part of the code, and then expect us to know why Perl expects more code? I don't get the reasoning behind that.