The above lines have bean given for that cause. according to my understanding. "if you give 1 at end of the module, perl loads the module, otherwise not loaded". is it correct????"We need the 1; at the end because when a module loads Perl checks to +see that the module returns a true value to ensure it loaded OK. You +could put any true value at the end (see Code::Police) but 1 is the c +onvention."
In reply to Re^2: module return
by saranperl
in thread module return
by saranperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |