SA version check

Julian gave a nice little snippet of perl to check the version of SA from the command line:
perl -MMail::SpamAssassin -e 'print $Mail::SpamAssassin::VERSION;'
Thanks Julian!

By Michele Neylon

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight.

3 comments

  1. That should work for pretty much every Perl module in existence BTW, by changing the module name after the -M

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Exit mobile version