Do you know where your variables are? | |
PerlMonks |
Re: Cross-platform accented character file names sortingby Athanasius (Archbishop) |
on May 19, 2015 at 16:34 UTC ( [id://1127152]=note: print w/replies, xml ) | Need Help?? |
Hello perlimpinpin, and welcome to the Monastery!
You can’t use Perl’s usual if here, you must use the pragma if, which has a different syntax:
Note also that the Config module isn’t needed for this test. Update 1: Struck out $ENV{OS}, thanks to afoken, below. Update 2: Changed utf8::all to 'utf8::all' (i.e., added quotes) to avoid a syntax error when the condition fails. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|