> Well, perl is kicking my ass again a nd not playing nice, I'm having > a problem with the ' if ( $processPattern == "amavisd") {' line. > > Seems it doesn't matter what's in $processPattern, everything > matches, I only wish to execute this if $processPattern is "amavisd" > so what am I doing wrong?
Don't use numerical equality operator '==' to compare strings, you must use a string equality operator 'eq'. Your code first converts strings to numeric (typically you get a zero, unless they start with digits), then compares them. Mark ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/