I've just been trying to do netmask manipulation in MacPerl (5.03r1m) There appear to be problems with the bitwise not of certain numbers, Specifically, accorind to macperl :- ~ffffff00 is 7fffffff and ~7fffffff is 80000000 (which is correct.) Is there something strange going on here to do with the handling of signed quantities and coversions? It would be nice if Perl behaved as expected :-) If this problem is solved by a Macperl upgrade then GAIA. -------------------------------------------------------------------------------- Roger Hill aka roger@aeg-post.demon.co.uk Call this a sig....:-?