3 ms·
Just out of curiosity, what is the last line for? 1;
by j_baker 15y ago
Just out of curiosity, what is the last line for?
1;
- gwillen 15y agoCauses the file to evaluate to 'true' when loaded as a Perl library, which is good form to indicate no error.
- tastive 15y agoPerl modules must return a true value (>0). 1; at the end is the easiest way, but if the last statement in the module always evaluates to true, you're similarly okay. Yeah, it's weird. :/