On Nov 15, Houda Araj said: > open my $fh, $phrase_file or die "$phrase_file: $!";
You're using an older version of Perl that can't handle this. Do open PHRASES, $phrase_file or die "$phrase_file: $!"; instead. And then read from <PHRASES>. Do something similar here too: > open my $fh, $source_file or die "$source_file: $!"; -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]