Possible Duplicate:
What are valid Perl module return values?
Generally we use 1; at the end of the module. This is to indicate that module returns true and can be imported properly. Now if we return 0 means false, that means module fails in import.
My question is, What if I use (or return) below statements at the end of module
-1;some text;- or
abc;
Does -1 means error, and some text,abc means true
Also what if I don't use 1; or any statement (as above) at all, what does module return in that case?
Does it return undef?