develooper Front page | perl.perl5.porters | Postings from January 2003

Re: Proposal : remove -u

Thread Previous | Thread Next
H.Merijn Brand
January 27, 2003 00:11
Re: Proposal : remove -u
Message ID:
On Mon 27 Jan 2003 01:05, (Ton Hospel) wrote:
> In article <20030126215252.4c6_5033.rgarciasuarez@_ree._r>,
> 	Rafael Garcia-Suarez <> writes:
> > The -u command-line switch is obsolete. As perlrun says,
> > "This obsolete switch causes Perl to dump core after
> > compiling your program." I suggest to remove it.
> After which it can mean "by default process textfile in unicode"

Which I proposed a while back, but Hugo didn't think it to be worth a
single-letter option.

I proposed to extend the -u to accept modifiers to select which filehandles
would be in 'binmode (":utf8");'

> instead of the not popular "if your locale has unicode in it"
> -u is more intuitive, and it causes older perls to directly dump core
> so you don't get the mistaken impression it works there....

H.Merijn Brand        Amsterdam Perl Mongers (
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE:
send smoke reports to:, QA:

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About