Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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 In reply to Re^2: avoid writing 'use utf8' in every script
by reqnode
|
|