When I attempt to run a script in bash under mkLinux that works fine under MacPerl, I get a weird error on the command line that is something like: Sequence[?(root@localhost/cgi-bin)]# I could have some of that wrong, but the point is that the prompt begins with Sequence followed by ? and the script won't run. After monkeying around with it for a file, I found that the offending portion is the grep line of the following: opendir(DIR, $directory) or die 'cannot open Commentary directory'; @files = grep { /^(?:(?!_).)*$/ } readdir(DIR); closedir(DIR); I'm just trying to create a list of files in a directory and am filtering out some that have a _ in their names. If I change the line to @files = readdir(DIR); it works fine in mkLinux, but I lose filtering. So, is this a Mac thing, a Linux thing, or what? Thanks. Richard Gordon Gordon Consulting & Design Voice: 770-565-8267 Fax: 770-971-6887 ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch