put dx.pl into an explicit handle sub
[spider.git] / msg / badmsg.pl.issue
1 #
2 # the list of regexes for messages that we won't store having
3 # received them (bear in mind that we must receive them fully before
4 # we can bin them)
5 #
6 #
7 # The format of each line is as follows
8 #
9 #     type      source             pattern 
10 #     P/B/F     T/F/O/S/I          regex  
11 #
12 # type: P - private, B - bulletin (msg), F - file (ak1a bull)
13 # source: T - to field, F - from field,  O - origin, S - subject, I - interface call 
14 # pattern: a perl regex on the field requested
15 #
16 # Currently only type B and P msgs are affected by this code.
17
18 # The list is read from the top down, the first pattern that matches
19 # causes the action to be taken.
20 #
21 # The pattern can be undef or 0 in which case it will always be selected
22 # for the action specified
23 #
24
25
26 package DXMsg;
27
28 @badmsg = (
29 'B',    'T',    'SALE', 
30 'B',    'T',    'WANTED',
31 'B',    'S',    'WANTED',
32 'B',    'S',    'SALE', 
33 'B',    'S',    'WTB',
34 'B',    'S',    'WTS',
35 ); 
36