ted '02' on the second line. Using a simple counting
algorithm, '02' will show up as a "false positive".
Peter Eisengrein's hash filter (in a previous email) won't be tricked by
duplicates. Mark Thomas suggested List::Compare::get_intersection(). I
would hope
examples
my %hash = (1 => 'Subscriber is Suspended', 2 => 'Receives List
Messages', ...);
foreach (sort {$a <=> $b} keys %hash) {
printf "%4d %s\n", $_, $hash{$_} if $flags & $_;
}
This prints:
2 receives list messages
sed explicitly as subs:
&Win32::Shell::
or
Win32::Shell::()
Naturally, use either method for any constant defined in both modules.
HTH,
Jonathan D Johnston
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
TOR)
{ local $" = "\n"; print "@array\n"; }
or, probably better, $, (OUTPUT_FIELD_SEPARATOR)
{ local $, = "\n"; print @array,''; }
will do the trick quite nicely.
For the difference between '$\', '$"', & '
st we determine the object chain: Application->NameSpace
->Folders(Folder)->Items(Item)->Attachments(Attachment).
* Second, we determine the appropriate methods/properties to access
the object at the end of the chain.
* Third, once we have the