User Tools

Site Tools


esmith:util:network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
esmith:util:network [2015/05/22 08:29]
stephdl created
esmith:util:network [2019/06/05 19:48] (current)
Line 1: Line 1:
 ===== esmith::util::network ==== ===== esmith::util::network ====
 esmith::util::network - miscellaneous network utilities esmith::util::network - miscellaneous network utilities
 +
 In a root terminal you can do the command below if you want to display the up-to-date content  In a root terminal you can do the command below if you want to display the up-to-date content 
- perldoc esmith::util::network+   perldoc esmith::util::network
 ===== SYNOPSIS ===== ===== SYNOPSIS =====
- use esmith::util::network qw(:all);+   use esmith::util::network qw(:all);
 or or
- use esmith::util::network qw(the functions you want); +   use esmith::util::network qw(the functions you want); 
- +   
- my $ip = cleanIP($orig_ip); my $is_valid = isValidIP($ip); my $is_valid = isValidPort($port);+  my $ip = cleanIP($orig_ip); my $is_valid = isValidIP($ip); my $is_valid = isValidPort($port);
  
 ===== DESCRIPTION ===== ===== DESCRIPTION =====
Line 43: Line 44:
 If you don't wish to permit local addresses, pass the permitlocal option as false. If you don't wish to permit local addresses, pass the permitlocal option as false.
  
- ie. esmith::util::isValidEmail($address, { permitlocal => 0 })+ ie.  
 +  esmith::util::isValidEmail($address, { permitlocal => 0 })
  
-==== AUTHOR ====+===== AUTHOR =====
 Mitel Networks Corp. Mitel Networks Corp.
 {{tag> neth-development sme-development }} {{tag> neth-development sme-development }}
  
esmith/util/network.1432283354.txt.gz · Last modified: 2019/06/05 19:48 (external edit)