in reply to 32-64 bits systems maze
You can find out the values of the configuration variables using the Config module:
From the shell, you can also use the -V option: perl -V:sitearch. -V is handy, you can give it lists or regular expression arguments, and you can eval the output to set shell variables:use Config '%Config'; print "sitearch = $Config{archlib}\n";
That's backquotes on the eval line, you can also use $( ), which is typographically clearer than backquotes and can be nested.perl -V:'site.*' eval `perl -V:'privlib privarch sitelib sitearch'` ls $sitelib/Crypt ls $sitearch/Crypt
eval $(perl -V:'prefix version archname') echo $prefix/lib/site_perl/$version/$archname
|
|---|