On Aug 28, K Old said: >@filelist = grep{/[e|f][d|m|v|s].ic$/} $ftp->ls($path);
You probably means @filelist = grep { /[ef][dmvs]\.ic$/ } $ftp->ls($path); since character classes don't use | for alternation, and . is a metacharacter in a regex. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]