Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- Date: Fri, 17 Feb 2006 08:21:26 +0900
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- References: <43F12D6F.1020706@example.com><30ce84360602141624p348b3cacm@example.com><873bilfl15.fsf@example.com><30ce84360602152252q1aea193ci@example.com><30ce84360602152253sb631144j@example.com>
On 16/02/06, Ian Wells <ijw@example.com> wrote: > On 15/02/06, Stephen J. Turnbull <stephen@example.com> wrote: > > > This can work, but (a) it depends on programmer discipline and (b) is modal. Ie, the > > "use utf8;" declaration is at the top of the file which the programmer may or may > > not ever look at carefully. > > If you embed utf8 in a file and don't put utf8 at the top you deserve a good > slapping. (Perl's a bit bad for boilerplate anyway, so you usually want > 'use strict;use warnings' up there for a start.) I'll take this a step further and say that any programmer who does not examine the top of every source file--at least in a cursory way--deserves a good slapping. I don't know about Lisp, but I do know about C and all of its descendents: the top of the file is where global stuff goes. Stuff like including header files, static variables, and constants in C; compiler pragmata (is that the plural of "pragma"? seems like it should be) and module includes in Perl; so on and so forth for other C-like languages. -Josh
- Follow-Ups:
- Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- From: Stephen J. Turnbull
- References:
- Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- From: David Riggs
- Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- From: Ian Wells
- Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- From: Stephen J. Turnbull
- Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- From: Ian Wells
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- Next by Date: [tlug] Bleeding pragmata (was: Re: unicode and Perl- how to passcommand line unicode arguments)
- Previous by thread: Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- Next by thread: Re: [tlug] unicode and Perl- how to pass command line unicodearguments
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links