prasath_linux wrote:
> Hi,
> 
>       I need to find the location of perl.ini configuration file,  is
> there any function like perlinfo() to find.
> 
> Eg. phpinfo() is the function which can used to display all the
> configuration settings in php.
> 
> Likewise any function to display the configuration function for perl.

The command line

  perl -V

generates a summary of most of the configuration values, and the 'Config' module
may also be useful to you. Take a look at

  perldoc Config

for details. The short program below generates a summary similar to that
provided using the -V switch.

HTH,

Rob


use strict;
use warnings;

use Config qw/myconfig/;

print myconfig();

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to