FreeBSD kenvperl version 0.01 ============================= This module is a the perl (using XS) shortened version of FreeBSD's kenv(). This doesn't have the same return as original kenv, will look for a defined string in all lines returend by kenv. Replace the word "system" with the string you are looking for. $my search = "system" Example to return all lines containing the word "system" ~/kenvperl > ./kenvperl.pl smbios.system.maker VMware, Inc. smbios.system.product VMware Virtual Platform smbios.system.serial VMware-49 00 cc 79 3e 15 dd 5f-32 c1 b2 11 b2 4c bf 8b smbios.system.uuid 4207dc79-1e20-bb5e-31c1-b181b24cbf7a smbios.system.version None INSTALLATION To install this module type the following: perl Makefile.PL CCFLAGS="-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Wno-return-type" make make test make install DEPENDENCIES This module requires these other modules and libraries: ExtUtils::testlib; Net::LDAP; Authen::SASL; Sys::Hostname; List::Util 'shuffle'; COPYRIGHT AND LICENCE Copyright (C) 2016 by Laszlo Danielisz This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.3 or, at your option, any later version of Perl 5 you may have available.