NAME ^

t/codingstd/filenames.t - checks that filenames conform to standards

SYNOPSIS ^

    # test all files
    % prove t/codingstd/filenames.t

    # test specific files
    % perl t/codingstd/filenames.t src/foo.c include/parrot/bar.h

DESCRIPTION ^

Checks that the filenames used for files within the Parrot distribution conform to a set of highly portable standards.

No multiple dots within filenames

Files with more than one dot ( '.' ) in their filename are problematic on some platforms (e.g. VMS) hence avoid these in Parrot.

No strange characters in filenames

Filenames are restricted to the characters a-zA-Z0-9_-.

Filenames length restriction

Filenames are restricted to 32 characters. Test currently "todoed".

SEE ALSO ^

"pdds/pdd07_codingstd.pod" in docs

AUTHOR ^

Paul Cochrane <paultcochrane at gmail dot com>


parrot