fetch#
Tied-hash read: return the value stored under a key.
Σύνοψη#
my $arch = $Config{archname}; # calls FETCH
Τι επιστρέφεται#
The string value for the given key, or undef if the key is either absent or recorded as undef (for example d_pseudofork).
Παραδείγματα#
use Config;
print $Config{osname}; # linux
print $Config{archname}; # x86_64-linux
Οριακές περιπτώσεις#
An empty string key returns
undef.Missing keys and keys whose recorded value is undef are indistinguishable through
FETCHalone; useEXISTSto tell them apart.
Διαφορές από το upstream#
Fully compatible with upstream.