lib/wicked/wlan.pm

write_cfg

  write_cfg($filename, $content[, $env]);

Write all data at once to the file. Replace all ocurance of {{name}}. First lookup is the given c<$env> hash and if it doesn't exists it try to lookup a member function with the given c<name> and replace the string with return value