[Mimedefang] recipient count in filter()
Steffen Kaiser
skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Mon Nov 20 03:43:50 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 18 Nov 2006, Ron Peterson wrote:
> my $recipient_count = $#Recipients + 1;
>
> in filter(), but the recipient count is always one. What's an elegant
> way to get the value of $#Recipients (all of them) into filter()?
What do you mean with "all of them"? I mean, the value of $#Recipients is
a number.
You could replace the expresion by: scalar(@Recipients), but it shouldn't
matter.
Maybe you've altered the @Recipients array in some way?
Bye,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iQEVAwUBRWFqyegJIbZtwg6XAQIHLAf+KDxNFjZ0ESqXD97o9+ReO60yCikW0nIs
9t8VOmZNWekjhpMehSl3WyBhqjN4V/1z+3kwQW2LsCTz12kVvKyk5kskLBLbEE68
mWM7KAoB340WmP/mOZ/epUBAHcFggpf00YS+GgpdIMwnh0uQNDpn5jFtsQ0+o7/+
lv4Phxi69O+XZ3iOj/5/RwyBYLwWVXZn+mooTZmh3a6n8eDbIXQQpz3BrVD1SI4j
v1Oq1t0wsNV4MrGwE3mSWBx9YvQQb+Ls3PGO9rjtdtQ11/v6QIOI2kfYGzQttbJF
XC/0HnH9yKowMl/UI3O71id8HSCqgCg+Y4fyz56gm6CL8q5LpBjsYw==
=bMis
-----END PGP SIGNATURE-----
More information about the MIMEDefang
mailing list