in reply to Reading all files in a directory with one filehandle

Dirty nasty way.. but it works...

#!/usr/bin/perl -w use strict; # # This is a rotten hack... open FH1,"cat /tmp/* |" or die "Cat died:$!"; while (my $line=<FH1>){ # etc. etc. etc. }


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg