More importantly, use utf8; allows you to do
my $foo = 'ñ';
Hmm, then I must have configured something in my system, since I can do that without use'ing utf8:
$ xxd ñ.pl 0000000: 7072 696e 7420 27c3 b127 0a print '..'. $ env -i /usr/bin/perl -Mstrict -wl ñ.pl ñ
--
David Serrano
(Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling errors. Thank you!).
In reply to Re^4: DWIM with non ASCII characters
by Hue-Bond
in thread DWIM with non ASCII characters
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |