ari,

<new lines>
my %conf;
tie %conf, 'esmith::config';
my $LocalIP = db_get(\%conf, 'LocalIP');
</new lines>
my ($A, $B, $C, $D) = split(/\./, $LocalIP);
my $mask = "$A\.$B\.$C\/";     <--------------take out "\/"
print $mask;


hope this helps.

-keith

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to