safe_level#
Report the current safety level used by File::Temp checks.
Σύνοψη#
my $level = File::Temp::safe_level();
File::Temp->safe_level(File::Temp::STANDARD);
Τι επιστρέφεται#
The integer 0, which corresponds to STANDARD. The setter form is accepted but has no effect.
Διαφορές από το upstream#
Upstream supports
STANDARD,MEDIUM, andHIGH; the latter two add sticky-bit and ancestor-ownership checks that are not implemented here. Requests to raise the level are silently clamped toSTANDARD. Covered byt/81-xs-native/File-Temp/*.t.
Δείτε επίσης#
top_system_uid- related stub used by theHIGH-level checks.cmpstat- stat comparison performed independently ofsafe_level.