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

Re: perldelta naming

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
December 20, 2010 04:01
Subject:
Re: perldelta naming
Message ID:
20101220130125.003bc935@pc09.procura.nl
On Mon, 20 Dec 2010 03:56:41 -0800, "Jan Dubois" <jand@activestate.com>
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

reminds me of single letter hostnames causing loads of trouble :)

# scp a:foo.txt .

> 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.

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


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