User Tools

Site Tools


esmith:networksdb

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
esmith:networksdb [2015/05/22 06:54]
stephdl [esmith::NetworksDB]
esmith:networksdb [2015/05/22 08:06]
stephdl [local_access_spec ([$access])]
Line 49: Line 49:
  
 If called in list context, returns the array of addresses and network/netmask strings. It’s trivial, of course, to convert an array to a comma separated list :-) If called in list context, returns the array of addresses and network/netmask strings. It’s trivial, of course, to convert an array to a comma separated list :-)
 +  my $ndb = esmith::NetworksDB->open_ro;
 +  my @access = $ndb->local_access_spec;
 +then
 +  my $access = join ( ",", @access);
 +
 +===== Network interfaces methods =====
  
-Network interfaces methods 
 ====        interfaces ==== ====        interfaces ====
  
Line 128: Line 133:
 (END)  (END) 
  
-{{tag> development }}+{{tag> neth-development }}
esmith/networksdb.txt · Last modified: 2019/06/05 19:48 (external edit)