|
5/24 |
2004/1/30 [Computer/SW/Languages/Perl] UID:12025 Activity:nil 61%like:29770 |
1/29 Looking through some Perl files, and I noticed some files with a line consisting of just a "1;" at the end. What does that mean? - perl newbie \_ return code. \_ thanks. \_ When you "require" another file, it runs through and expects a "true" value at the end. ergo, 1;. It's in effect a return code, but for a different reason. \_ thanks, makes sense now. |