On Jan 21, Franck Collineau said:
>#!/usr/bin/perl -w
>$chemin="/home/collineau/tests";
>opendir (DIR,"$chemin") || die " impossible d'ouvrir le répertoire $chemin
>$!";
>while ($rep=readdir DIR)
>{
> print "$rep\n";
> $a =-d $rep;
> print "$a\n";
>}
>Techmedia Broadband home
On Tue, Jun 19, 2001 at 03:41:40PM -0500, Jeff Wagg wrote:
>
> Hi,
> I was just wondering if there were any file test operators (or
> modules containing these operators) which tested files for their type. For
> example, is there a way to test a file to see whether or not it's in FITS
> form