Help for this page

Select Code to Download


  1. or download this
    for ( $ipaddress, $prefix, $interface, $device, $location, $comment )
    {
    ...
      ## That one is quite nice.
      ## Let's just say there's more than one way to do it.
    }
    
  2. or download this
    STRING: for( $ipaddress, $prefix, $interface, $device, $location, $com
    +ment )
    {
      next STRING unless defined; # We skip any element that is not define
    +d
      s/^\s+|\s+$//g;
    }