I have a question a perl question and I'm not sure where in the various Perl docs you are suppose to look for this but I want to know exactly what this means.
package Mail::SpamAssassin::Dns; 1;
package Mail::SpamAssassin::PerMsgStatus;
This syntax seems to be quite common when you want to put some subroutines in different files but keep them in the same module.
It's my understanding that somehow the above means that the Dns is just a namespace or something but really the subroutines defined in there actually belong to PerMsgStatus at least according to the perl debugger when setting break points etc.
I want to know what that 1; is suppose to mean.
As for references I have access to the Perl Cookbook, Programming Perl, Learning Perl, Advanced Perl Programming so which of those books best explains what the above syntax means?
OO Perl is still a bit of a black art to me.
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk