start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: config_sh Chapter 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_sh Perl in a Nutshell Next: Reference: myconfig
Reference: config_sh Book Index Reference: myconfig