I was just trying to figure out how to check the version of SpamAssassin from the command line and this line of perl does the trick, in case you need it (remove the square brackets, of course):

# perl -MMail::SpamAssassin -e ''print $Mail::SpamAssassin::VERSION;''

Hope that helps someone out, and thanks to Floyd for the tip.

tags: Perl, programming, spamassassin