bug in /usr/share/perl5/Debian/Fai.pm

Holger Schurig hs4233 at mail.mn-solutions.de
Tue Oct 26 16:35:24 CEST 2004


When you look at this excerpt ...

sub read_all_info () {
  read_disk_info;
  read_memory_info;
  read_kernel_messages;
}

... and you know perl, then you would realize that you should rewrite this to

sub read_all_info () {
  read_disk_info();
  read_memory_info();
  read_kernel_messages();
}

to get it warning-free.

"perl -w /usr/share/doc/fai/examples/advanced/class/05nic" will show you the warnings.


-- 
M&N Solutions GmbH       http://www.mn-solutions.de
Holger Schurig
Dieselstr. 18
61191 Rosbach v.d.Höhe
Tel: (+49) 6003 9141 0   Fax: (+49) 6003 9141 49



More information about the linux-fai mailing list