Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: config_shChapter 8
Standard Modules
Next: Reference: myconfig
 

config_vars

config_vars (names)

Returns the name/value pairs for the requested configuration variables. Prints the results to STDOUT.

use Config(qw(config_vars));
print config_vars(qw(osname ccflags));
returns:
osname='solaris'
ccflags='-I/usr/local/include/sfio -I/usr/local/include'


Previous: Reference: config_shPerl in a NutshellNext: Reference: myconfig
Reference: config_shBook IndexReference: myconfig