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.