in reply to Re: avoid writing 'use utf8' in every script
in thread avoid writing 'use utf8' in every script
Lets say i have 2 scripts:
main.pl code:
So let's say i have a lot of files like main_include.pl and every is using über() function.
I am trying to find a way tell perl that all inside scripts will use utf8-named functions and there is no need to indicate it every time i call them
main.pl code:
#!perl use utf8; do 'main_include.pl'; sub über { return shift; }main_include.pl code:
use utf8; über('hi');
So let's say i have a lot of files like main_include.pl and every is using über() function.
I am trying to find a way tell perl that all inside scripts will use utf8-named functions and there is no need to indicate it every time i call them
|
---|
In Section
Seekers of Perl Wisdom