Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: avoid writing 'use utf8' in every script

by reqnode (Novice)
on Feb 02, 2014 at 02:12 UTC ( #1073016=note: print w/replies, xml ) Need Help??


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:
#!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
  • Comment on Re^2: avoid writing 'use utf8' in every script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2023-02-02 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (20 votes). Check out past polls.

    Notices?