in reply to returns not working
I generally don't enclose the return code in parentheses: return 0;
If you aren't, you should use warnings; it may give you a clue to what's going on. You say that return (1) doesn't seem to work. What does it do?
If you aren't, you should use warnings; it may give you a clue to what's going on. You say that return (1) doesn't seem to work. What does it do?
In Section
Seekers of Perl Wisdom