Just another Perl shrine | |
PerlMonks |
Re: Is it ever legitimate to override $^O ?by Anonymous Monk |
on Aug 02, 2022 at 07:44 UTC ( [id://11145888]=note: print w/replies, xml ) | Need Help?? |
(BTW, I don't know how that override hack even works.)File::Spec picks the parent class basing on $^O: https://metacpan.org/release/XSAWYERX/PathTools-3.75/source/lib/File/Spec.pm#L19 Is overriding $^O a legitimate thing to do ?It's a terrible hack.
In Section
Seekers of Perl Wisdom
|
|