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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: returns not working
by davido (Cardinal) on Aug 24, 2005 at 15:45 UTC | |
by socketdave (Curate) on Aug 24, 2005 at 15:55 UTC | |
by davido (Cardinal) on Aug 24, 2005 at 16:02 UTC | |
Re^2: returns not working
by Markn (Initiate) on Aug 24, 2005 at 15:56 UTC |
In Section
Seekers of Perl Wisdom