develooper Front page | perl.perl5.porters | Postings from December 2010

Re: perldelta naming

Thread Previous
From:
Nicholas Clark
Date:
December 20, 2010 03:58
Subject:
Re: perldelta naming
Message ID:
20101220115805.GH24189@plum.flirble.org
On Mon, Dec 20, 2010 at 03:56:41AM -0800, Jan Dubois wrote:
> On Mon, 20 Dec 2010, Nicholas Clark wrote:
> > However, I'm not sure what the "new" portability maxim should be. I'd guess
> > 
> > * At most one .
> > * No more than 39 characters before the dot, and 39 after
> > * No distinctions solely on case
> > * No filenames starting with -
> 
> Also don't use any of these names (regardless of case) before the dot:
> 
>   CON, PRN, AUX, NUL,
>   COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9,
>   LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9
> 
> They are all built-in serial device drivers in Windows and cannot
> be used for disk-based files.  E.g. even C:\tmp\nul.txt is the
> equivalent of /dev/null on Unix.  'AUX' is the offender I've
> seen the most in Unix-originated tarballs.

Oh yes. Thanks. I forgot about the joy of CP/M [the first 4]

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About