Berkeley CSUA MOTD:Entry 29770
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/06 [General] UID:1000 Activity:popular
4/6     

2004/1/30 [Computer/SW/Languages/Perl] UID:29770 Activity:nil 61%like:12025
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.