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.