Spam Assassin question

Steve Thomas lists at STHOMAS.NET
Thu May 29 17:15:16 IST 2003


On Wed, May 21, 2003 at 05:42:55PM +0100, Julian Field is rumored to have said:
> # perl
> use Mail::SpamAssassin;
> print $Mail::SpamAssassin::VERSION . "\n";
>
> Then press Ctrl-D and it will print the version number.
> Same works for any perl module.

You can also do:

perl -MMail::SpamAssassin -e 'print "$Mail::SpamAssassin::VERSION\n"'

The -M... is the same as saying "Use this module" and the -e ... runs the quoted command.

--
Steve Thomas
----------------------------------------------------------
"...subatomic matter in a particle accelerator that exists
for only a few microseconds seems to exhibit more uptime
than the RIAA's website."
                           -- Andrew Orlowski
                              TheRegister.co.uk



More information about the MailScanner mailing list